home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 12 / BBS in a box XII-1.iso / Files / Game / H-L / Knockoffaly.sit / Knockoffaly < prev    next >
MacBinary  |  1994-05-26  |  172.9 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Knockoffaly

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, busy, Thu May 26 09:41:25 1994, modified Thu May 26 09:41:25 1994, creator HyperCard, type HyperCard stack, 119200 bytes "Knockoffaly" , at 0x1d220 57594 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 4b 6e 6f 63 6b 6f | 66 66 61 6c 79 00 00 00 |..Knocko|ffaly...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 01 d1 a0 00 | 00 e0 fa aa 0a 57 85 aa |........|.....W..|
|00000060| 0a 57 85 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.W......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 23 eb 00 00 |........|....#...|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 01 d1 a0 | 00 00 70 00 00 00 00 00 |........|..p.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a 42 00 00 00 06 |........|...B....|
|000000b0| 00 00 1a 8e 00 00 13 1a | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 10 a1 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 20 80 00 | 02 20 80 00 02 20 80 00 |..... ..|. ... ..|
|000000f0| dd cc 43 5e 00 00 00 00 | 00 3f 00 20 01 95 02 20 |..C^....|.?. ... |
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 89 00 00 0c 0d | 01 56 02 00 00 00 00 00 |........|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 70 72 65 |on openS|tack.pre|
|00000690| 70 61 72 65 44 61 74 61 | 0d 65 6e 64 20 6f 70 65 |pareData|.end ope|
|000006a0| 6e 53 74 61 63 6b 0d 0d | 6f 6e 20 73 65 74 47 6c |nStack..|on setGl|
|000006b0| 6f 62 61 6c 73 20 6d 0d | 72 65 70 65 61 74 20 77 |obals m.|repeat w|
|000006c0| 69 74 68 20 69 20 3d 20 | 31 20 74 6f 20 28 74 68 |ith i = |1 to (th|
|000006d0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|000006e0| 73 20 6f 66 20 6d 29 0d | 73 65 74 20 74 68 65 20 |s of m).|set the |
|000006f0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|00000700| 75 74 20 6c 69 6e 65 20 | 69 20 6f 66 20 6d 20 69 |ut line |i of m i|
|00000710| 6e 74 6f 20 74 6c 0d 70 | 75 74 20 22 67 6c 6f 62 |nto tl.p|ut "glob|
|00000720| 61 6c 20 22 26 28 69 74 | 65 6d 20 32 20 6f 66 20 |al "&(it|em 2 of |
|00000730| 74 6c 29 20 69 6e 74 6f | 20 63 6d 64 0d 64 6f 20 |tl) into| cmd.do |
|00000740| 63 6d 64 0d 70 75 74 20 | 22 70 75 74 20 22 26 28 |cmd.put |"put "&(|
|00000750| 69 74 65 6d 20 31 20 6f | 66 20 74 6c 29 26 22 20 |item 1 o|f tl)&" |
|00000760| 69 6e 74 6f 20 22 26 28 | 69 74 65 6d 20 32 20 6f |into "&(|item 2 o|
|00000770| 66 20 74 6c 29 20 69 6e | 74 6f 20 63 6d 64 0d 69 |f tl) in|to cmd.i|
|00000780| 66 20 69 74 65 6d 20 31 | 20 6f 66 20 74 6c 20 3c |f item 1| of tl <|
|00000790| 3e 20 65 6d 70 74 79 20 | 74 68 65 6e 20 64 6f 20 |> empty |then do |
|000007a0| 63 6d 64 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 65 |cmd.end |repeat.e|
|000007b0| 6e 64 20 73 65 74 47 6c | 6f 62 61 6c 73 0d 0d 6f |nd setGl|obals..o|
|000007c0| 6e 20 70 72 65 70 61 72 | 65 44 61 74 61 0d 6c 6f |n prepar|eData.lo|
|000007d0| 63 6b 20 73 63 72 65 65 | 6e 0d 2d 2d 69 6e 69 74 |ck scree|n.--init|
|000007e0| 69 61 6c 69 7a 65 20 47 | 6c 6f 62 61 6c 73 0d 73 |ialize G|lobals.s|
|000007f0| 65 74 20 74 68 65 20 6c | 6f 63 6b 6d 65 73 73 61 |et the l|ockmessa|
|00000800| 67 65 73 20 74 6f 20 74 | 72 75 65 0d 67 6f 20 63 |ges to t|rue.go c|
|00000810| 64 20 22 4d 61 69 6e 22 | 0d 73 65 74 47 6c 6f 62 |d "Main"|.setGlob|
|00000820| 61 6c 73 20 28 62 67 20 | 66 6c 64 20 22 44 65 66 |als (bg |fld "Def|
|00000830| 61 75 6c 74 73 22 29 0d | 63 6f 72 6e 65 72 74 6f |aults").|cornerto|
|00000840| 6b 73 0d 67 6f 20 62 61 | 63 6b 0d 73 65 74 20 74 |ks.go ba|ck.set t|
|00000850| 68 65 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |he lockm|essages |
|00000860| 74 6f 20 66 61 6c 73 65 | 0d 67 6c 6f 62 61 6c 20 |to false|.global |
|00000870| 6f 75 74 65 72 52 65 63 | 74 2c 69 6e 6e 65 72 52 |outerRec|t,innerR|
|00000880| 65 63 74 2c 74 69 74 6c | 65 52 65 63 74 0d 70 75 |ect,titl|eRect.pu|
|00000890| 74 20 22 30 2c 30 2c 33 | 32 33 2c 33 32 33 22 20 |t "0,0,3|23,323" |
|000008a0| 69 6e 74 6f 20 6f 75 74 | 65 72 52 65 63 74 0d 70 |into out|erRect.p|
|000008b0| 75 74 20 22 34 39 2c 34 | 39 2c 32 37 36 2c 32 37 |ut "49,4|9,276,27|
|000008c0| 36 22 20 69 6e 74 6f 20 | 69 6e 6e 65 72 52 65 63 |6" into |innerRec|
|000008d0| 74 0d 70 75 74 20 22 33 | 32 35 2c 35 31 2c 34 39 |t.put "3|25,51,49|
|000008e0| 39 2c 36 37 22 20 69 6e | 74 6f 20 54 69 74 6c 65 |9,67" in|to Title|
|000008f0| 52 65 63 74 0d 67 6c 6f | 62 61 6c 20 43 68 61 6e |Rect.glo|bal Chan|
|00000900| 63 65 0d 70 75 74 20 62 | 67 20 66 6c 64 20 22 43 |ce.put b|g fld "C|
|00000910| 68 61 6e 63 65 22 20 69 | 6e 74 6f 20 43 68 61 6e |hance" i|nto Chan|
|00000920| 63 65 0d 67 6c 6f 62 61 | 6c 20 44 61 74 61 2c 4e |ce.globa|l Data,N|
|00000930| 61 6d 65 73 2c 4d 6f 6e | 6f 70 73 2c 53 74 72 69 |ames,Mon|ops,Stri|
|00000940| 6e 67 73 2c 43 68 61 6e | 63 65 44 65 73 63 2c 53 |ngs,Chan|ceDesc,S|
|00000950| 6f 75 6e 64 73 2c 69 63 | 6e 6f 73 0d 70 75 74 20 |ounds,ic|nos.put |
|00000960| 62 67 20 66 6c 64 20 22 | 69 63 6e 6f 73 22 20 69 |bg fld "|icnos" i|
|00000970| 6e 74 6f 20 69 63 6e 6f | 73 0d 70 75 74 20 62 67 |nto icno|s.put bg|
|00000980| 20 66 6c 64 20 22 4e 61 | 6d 65 73 22 20 69 6e 74 | fld "Na|mes" int|
|00000990| 6f 20 4e 61 6d 65 73 0d | 70 75 74 20 62 67 20 66 |o Names.|put bg f|
|000009a0| 6c 64 20 22 44 61 74 61 | 22 20 69 6e 74 6f 20 44 |ld "Data|" into D|
|000009b0| 61 74 61 0d 70 75 74 20 | 62 67 20 66 6c 64 20 22 |ata.put |bg fld "|
|000009c0| 4d 6f 6e 6f 70 73 22 20 | 69 6e 74 6f 20 4d 6f 6e |Monops" |into Mon|
|000009d0| 6f 70 73 0d 70 75 74 20 | 62 67 20 66 6c 64 20 22 |ops.put |bg fld "|
|000009e0| 53 74 72 69 6e 67 73 22 | 20 69 6e 74 6f 20 53 74 |Strings"| into St|
|000009f0| 72 69 6e 67 73 0d 70 75 | 74 20 62 67 20 66 6c 64 |rings.pu|t bg fld|
|00000a00| 20 22 43 68 61 6e 63 65 | 44 65 73 63 22 20 69 6e | "Chance|Desc" in|
|00000a10| 74 6f 20 43 68 61 6e 63 | 65 44 65 73 63 0d 70 75 |to Chanc|eDesc.pu|
|00000a20| 74 20 62 67 20 66 6c 64 | 20 22 53 6f 75 6e 64 73 |t bg fld| "Sounds|
|00000a30| 22 20 69 6e 74 6f 20 53 | 6f 75 6e 64 73 0d 67 6c |" into S|ounds.gl|
|00000a40| 6f 62 61 6c 20 67 6c 6f | 62 6c 69 73 74 0d 70 75 |obal glo|blist.pu|
|00000a50| 74 20 62 67 20 66 6c 64 | 20 22 67 6c 6f 62 6c 69 |t bg fld| "globli|
|00000a60| 73 74 22 20 69 6e 74 6f | 20 67 6c 6f 62 6c 69 73 |st" into| globlis|
|00000a70| 74 0d 67 6c 6f 62 61 6c | 20 4b 4d 65 6e 75 2c 50 |t.global| KMenu,P|
|00000a80| 4d 65 6e 75 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |Menu.put| line 1 |
|00000a90| 6f 66 20 62 67 20 66 6c | 64 20 22 4b 4d 65 6e 75 |of bg fl|d "KMenu|
|00000aa0| 22 20 69 6e 74 6f 20 4b | 4d 65 6e 75 0d 70 75 74 |" into K|Menu.put|
|00000ab0| 20 6c 69 6e 65 20 31 20 | 6f 66 20 62 67 20 66 6c | line 1 |of bg fl|
|00000ac0| 64 20 22 50 4d 65 6e 75 | 22 20 69 6e 74 6f 20 50 |d "PMenu|" into P|
|00000ad0| 4d 65 6e 75 0d 69 66 20 | 4b 4d 65 6e 75 20 69 73 |Menu.if |KMenu is|
|00000ae0| 20 6e 6f 74 20 69 6e 20 | 74 68 65 20 6d 65 6e 75 | not in |the menu|
|00000af0| 73 20 74 68 65 6e 0d 63 | 72 65 61 74 65 20 6d 65 |s then.c|reate me|
|00000b00| 6e 75 20 4b 4d 65 6e 75 | 0d 70 75 74 20 74 68 65 |nu KMenu|.put the|
|00000b10| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00000b20| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 4b 6d 65 6e | of bg f|ld "Kmen|
|00000b30| 75 22 20 69 6e 74 6f 20 | 6d 0d 72 65 70 65 61 74 |u" into |m.repeat|
|00000b40| 20 77 69 74 68 20 69 20 | 3d 20 32 20 74 6f 20 6d | with i |= 2 to m|
|00000b50| 0d 70 75 74 20 6c 69 6e | 65 20 69 20 6f 66 20 62 |.put lin|e i of b|
|00000b60| 67 20 66 6c 64 20 22 4b | 6d 65 6e 75 22 20 69 6e |g fld "K|menu" in|
|00000b70| 74 6f 20 74 68 65 6c 69 | 6e 65 0d 70 75 74 20 69 |to theli|ne.put i|
|00000b80| 74 65 6d 20 31 20 6f 66 | 20 74 68 65 4c 69 6e 65 |tem 1 of| theLine|
|00000b90| 20 61 66 74 65 72 20 20 | 6d 65 6e 75 20 4b 4d 65 | after |menu KMe|
|00000ba0| 6e 75 0d 73 65 74 20 74 | 68 65 20 6d 65 6e 75 4d |nu.set t|he menuM|
|00000bb0| 73 67 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 28 |sg of me|nuItem (|
|00000bc0| 69 2d 31 29 20 6f 66 20 | 6d 65 6e 75 20 4b 4d 65 |i-1) of |menu KMe|
|00000bd0| 6e 75 20 74 6f 20 69 74 | 65 6d 20 32 20 6f 66 20 |nu to it|em 2 of |
|00000be0| 74 68 65 4c 69 6e 65 0d | 73 65 74 20 74 68 65 20 |theLine.|set the |
|00000bf0| 63 6d 64 63 68 61 72 20 | 6f 66 20 6d 65 6e 75 49 |cmdchar |of menuI|
|00000c00| 74 65 6d 20 28 69 2d 31 | 29 20 6f 66 20 6d 65 6e |tem (i-1|) of men|
|00000c10| 75 20 4b 4d 65 6e 75 20 | 74 6f 20 69 74 65 6d 20 |u KMenu |to item |
|00000c20| 33 20 6f 66 20 74 68 65 | 4c 69 6e 65 0d 65 6e 64 |3 of the|Line.end|
|00000c30| 20 72 65 70 65 61 74 0d | 70 75 74 20 22 41 62 6f | repeat.|put "Abo|
|00000c40| 75 74 20 4b 6e 6f 63 6b | 6f 66 66 61 6c 79 22 20 |ut Knock|offaly" |
|00000c50| 69 6e 74 6f 20 6d 65 6e | 75 49 74 65 6d 20 31 20 |into men|uItem 1 |
|00000c60| 6f 66 20 6d 65 6e 75 20 | 31 0d 73 65 74 20 74 68 |of menu |1.set th|
|00000c70| 65 20 6d 65 6e 75 6d 73 | 67 20 6f 66 20 6d 65 6e |e menums|g of men|
|00000c80| 75 49 74 65 6d 20 31 20 | 6f 66 20 6d 65 6e 75 20 |uItem 1 |of menu |
|00000c90| 31 20 74 6f 20 22 4b 61 | 62 6f 75 74 22 0d 65 6e |1 to "Ka|bout".en|
|00000ca0| 64 20 69 66 0d 64 69 73 | 61 62 6c 65 20 6d 65 6e |d if.dis|able men|
|00000cb0| 75 20 4b 4d 65 6e 75 0d | 69 66 20 50 4d 65 6e 75 |u KMenu.|if PMenu|
|00000cc0| 20 69 73 20 6e 6f 74 20 | 69 6e 20 74 68 65 20 6d | is not |in the m|
|00000cd0| 65 6e 75 73 20 74 68 65 | 6e 0d 63 72 65 61 74 65 |enus the|n.create|
|00000ce0| 20 6d 65 6e 75 20 50 4d | 65 6e 75 0d 70 75 74 20 | menu PM|enu.put |
|00000cf0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 6c 69 |the numb|er of li|
|00000d00| 6e 65 73 20 6f 66 20 62 | 67 20 66 6c 64 20 22 50 |nes of b|g fld "P|
|00000d10| 6d 65 6e 75 22 20 69 6e | 74 6f 20 6d 0d 72 65 70 |menu" in|to m.rep|
|00000d20| 65 61 74 20 77 69 74 68 | 20 69 20 3d 20 32 20 74 |eat with| i = 2 t|
|00000d30| 6f 20 6d 0d 70 75 74 20 | 6c 69 6e 65 20 69 20 6f |o m.put |line i o|
|00000d40| 66 20 62 67 20 66 6c 64 | 20 22 50 6d 65 6e 75 22 |f bg fld| "Pmenu"|
|00000d50| 20 69 6e 74 6f 20 74 68 | 65 6c 69 6e 65 0d 70 75 | into th|eline.pu|
|00000d60| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 74 68 65 4c |t item 1| of theL|
|00000d70| 69 6e 65 20 61 66 74 65 | 72 20 20 6d 65 6e 75 20 |ine afte|r menu |
|00000d80| 50 4d 65 6e 75 0d 73 65 | 74 20 74 68 65 20 6d 65 |PMenu.se|t the me|
|00000d90| 6e 75 4d 73 67 20 6f 66 | 20 6d 65 6e 75 49 74 65 |nuMsg of| menuIte|
|00000da0| 6d 20 28 69 2d 31 29 20 | 6f 66 20 6d 65 6e 75 20 |m (i-1) |of menu |
|00000db0| 50 4d 65 6e 75 20 74 6f | 20 69 74 65 6d 20 32 20 |PMenu to| item 2 |
|00000dc0| 6f 66 20 74 68 65 4c 69 | 6e 65 0d 65 6e 64 20 72 |of theLi|ne.end r|
|00000dd0| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 64 69 73 |epeat.en|d if.dis|
|00000de0| 61 62 6c 65 20 6d 65 6e | 75 20 50 4d 65 6e 75 0d |able men|u PMenu.|
|00000df0| 67 6c 6f 62 61 6c 20 6e | 6f 74 52 65 67 0d 69 66 |global n|otReg.if|
|00000e00| 20 74 68 65 72 65 20 69 | 73 20 61 20 73 74 61 63 | there i|s a stac|
|00000e10| 6b 20 22 52 65 73 6f 75 | 72 63 65 20 53 74 61 63 |k "Resou|rce Stac|
|00000e20| 6b 22 20 74 68 65 6e 0d | 73 74 61 72 74 20 75 73 |k" then.|start us|
|00000e30| 69 6e 67 20 73 74 61 63 | 6b 20 22 52 65 73 6f 75 |ing stac|k "Resou|
|00000e40| 72 63 65 20 53 74 61 63 | 6b 22 0d 70 75 74 20 66 |rce Stac|k".put f|
|00000e50| 61 6c 73 65 20 69 6e 74 | 6f 20 6e 6f 74 52 65 67 |alse int|o notReg|
|00000e60| 0d 65 6c 73 65 0d 70 75 | 74 20 74 72 75 65 20 69 |.else.pu|t true i|
|00000e70| 6e 74 6f 20 6e 6f 74 52 | 65 67 0d 65 6e 64 20 69 |nto notR|eg.end i|
|00000e80| 66 0d 4b 6c 6f 62 62 65 | 72 4d 65 6e 75 73 0d 67 |f.Klobbe|rMenus.g|
|00000e90| 6c 6f 62 61 6c 20 42 57 | 0d 69 66 20 6d 61 78 44 |lobal BW|.if maxD|
|00000ea0| 65 70 74 68 28 29 20 3d | 20 31 20 74 68 65 6e 0d |epth() =| 1 then.|
|00000eb0| 73 68 6f 77 20 63 64 20 | 70 69 63 74 0d 70 75 74 |show cd |pict.put|
|00000ec0| 20 74 72 75 65 20 69 6e | 74 6f 20 42 57 0d 65 6c | true in|to BW.el|
|00000ed0| 73 65 0d 68 69 64 65 20 | 63 64 20 70 69 63 74 0d |se.hide |cd pict.|
|00000ee0| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 42 |put fals|e into B|
|00000ef0| 57 0d 65 6e 64 20 69 66 | 0d 75 6e 6c 6f 63 6b 20 |W.end if|.unlock |
|00000f00| 73 63 72 65 65 6e 0d 65 | 6e 64 20 70 72 65 70 61 |screen.e|nd prepa|
|00000f10| 72 65 44 61 74 61 0d 0d | 0d 6f 6e 20 6b 41 62 6f |reData..|.on kAbo|
|00000f20| 75 74 0d 76 69 73 75 61 | 6c 20 69 72 69 73 20 6f |ut.visua|l iris o|
|00000f30| 70 65 6e 20 73 6c 6f 77 | 0d 67 6f 20 63 64 20 22 |pen slow|.go cd "|
|00000f40| 41 62 6f 75 74 22 0d 65 | 6e 64 20 6b 41 62 6f 75 |About".e|nd kAbou|
|00000f50| 74 0d 0d 6f 6e 20 63 6c | 65 61 6e 45 78 69 74 0d |t..on cl|eanExit.|
|00000f60| 61 6e 73 77 65 72 20 67 | 65 74 73 74 72 28 34 36 |answer g|etstr(46|
|00000f70| 29 20 77 69 74 68 20 22 | 48 6f 6d 65 22 20 6f 72 |) with "|Home" or|
|00000f80| 20 22 46 69 6e 64 65 72 | 22 0d 69 66 20 69 74 20 | "Finder|".if it |
|00000f90| 69 73 20 22 46 69 6e 64 | 65 72 22 20 74 68 65 6e |is "Find|er" then|
|00000fa0| 20 64 6f 4d 65 6e 75 20 | 22 51 75 69 74 20 48 79 | doMenu |"Quit Hy|
|00000fb0| 70 65 72 63 61 72 64 22 | 0d 64 6f 4d 65 6e 75 20 |percard"|.doMenu |
|00000fc0| 22 48 6f 6d 65 22 0d 65 | 6e 64 20 63 6c 65 61 6e |"Home".e|nd clean|
|00000fd0| 45 78 69 74 0d 0d 0d 6f | 6e 20 52 65 67 20 78 0d |Exit...o|n Reg x.|
|00000fe0| 69 66 20 6e 6f 74 28 22 | 52 65 73 6f 75 72 63 65 |if not("|Resource|
|00000ff0| 20 53 74 61 63 6b 22 20 | 69 73 20 69 6e 20 74 68 | Stack" |is in th|
|00001000| 65 20 53 74 61 63 6b 73 | 49 6e 55 73 65 29 20 74 |e Stacks|InUse) t|
|00001010| 68 65 6e 0d 61 6e 73 77 | 65 72 20 67 65 74 73 74 |hen.answ|er getst|
|00001020| 72 28 34 37 29 0d 65 6c | 73 65 0d 69 66 20 78 20 |r(47).el|se.if x |
|00001030| 3d 20 28 74 68 65 20 6e | 61 6d 65 20 6f 66 20 6d |= (the n|ame of m|
|00001040| 65 6e 75 49 74 65 6d 20 | 31 33 20 6f 66 20 6d 65 |enuItem |13 of me|
|00001050| 6e 75 20 22 50 61 72 61 | 6d 65 74 65 72 73 22 29 |nu "Para|meters")|
|00001060| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 54 68 | then.an|swer "Th|
|00001070| 69 73 20 69 73 20 6e 6f | 20 70 6c 61 63 65 20 66 |is is no| place f|
|00001080| 6f 72 20 6d 65 73 73 69 | 6e 67 20 61 72 6f 75 6e |or messi|ng aroun|
|00001090| 64 2e 20 41 72 65 20 79 | 6f 75 20 73 75 72 65 3f |d. Are y|ou sure?|
|000010a0| 22 20 77 69 74 68 20 22 | 59 65 73 22 20 6f 72 20 |" with "|Yes" or |
|000010b0| 22 4e 6f 22 0d 69 66 20 | 69 74 20 69 73 20 22 4e |"No".if |it is "N|
|000010c0| 6f 22 20 74 68 65 6e 20 | 65 78 69 74 20 52 65 67 |o" then |exit Reg|
|000010d0| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 74 68 65 20 |.end if.|set the |
|000010e0| 6c 6f 63 6b 6d 65 73 73 | 61 67 65 73 20 74 6f 20 |lockmess|ages to |
|000010f0| 74 72 75 65 0d 63 6f 6c | 6f 72 69 7a 65 48 43 20 |true.col|orizeHC |
|00001100| 22 45 72 61 73 65 22 0d | 67 6c 6f 62 61 6c 20 4b |"Erase".|global K|
|00001110| 4d 65 6e 75 2c 50 4d 65 | 6e 75 0d 69 66 20 4b 4d |Menu,PMe|nu.if KM|
|00001120| 65 6e 75 20 69 73 20 69 | 6e 20 74 68 65 20 6d 65 |enu is i|n the me|
|00001130| 6e 75 73 20 74 68 65 6e | 20 64 69 73 61 62 6c 65 |nus then| disable|
|00001140| 20 6d 65 6e 75 20 4b 4d | 65 6e 75 0d 69 66 20 50 | menu KM|enu.if P|
|00001150| 4d 65 6e 75 20 69 73 20 | 69 6e 20 74 68 65 20 6d |Menu is |in the m|
|00001160| 65 6e 75 73 20 74 68 65 | 6e 20 64 69 73 61 62 6c |enus the|n disabl|
|00001170| 65 20 6d 65 6e 75 20 50 | 4d 65 6e 75 0d 67 6f 20 |e menu P|Menu.go |
|00001180| 63 64 20 78 20 6f 66 20 | 73 74 61 63 6b 20 22 4b |cd x of |stack "K|
|00001190| 6e 6f 63 6b 45 64 69 74 | 6f 72 73 22 0d 73 65 74 |nockEdit|ors".set|
|000011a0| 20 74 68 65 20 6c 6f 63 | 6b 6d 65 73 73 61 67 65 | the loc|kmessage|
|000011b0| 73 20 74 6f 20 66 61 6c | 73 65 0d 6f 70 65 6e 63 |s to fal|se.openc|
|000011c0| 61 72 64 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 52 |ard.end |if.end R|
|000011d0| 65 67 0d 0d 0d 0d 0d 6f | 6e 20 6b 6c 6f 62 62 65 |eg.....o|n klobbe|
|000011e0| 72 4d 65 6e 75 73 0d 2d | 2d 20 61 6e 73 77 65 72 |rMenus.-|- answer|
|000011f0| 20 22 52 65 61 6c 6c 79 | 20 63 6c 6f 62 62 65 72 | "Really| clobber|
|00001200| 20 74 68 65 20 6d 65 6e | 75 73 3f 22 20 77 69 74 | the men|us?" wit|
|00001210| 68 20 22 59 65 73 22 20 | 6f 72 20 22 4e 6f 22 0d |h "Yes" |or "No".|
|00001220| 2d 2d 20 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 |-- if th|e result|
|00001230| 20 69 73 20 22 4e 6f 22 | 20 74 68 65 6e 20 65 78 | is "No"| then ex|
|00001240| 69 74 20 4b 6c 6f 62 62 | 65 72 4d 65 6e 75 73 0d |it Klobb|erMenus.|
|00001250| 2d 2d 20 69 66 20 69 74 | 20 69 73 20 22 4e 6f 22 |-- if it| is "No"|
|00001260| 20 74 68 65 6e 20 65 78 | 69 74 20 4b 6c 6f 62 62 | then ex|it Klobb|
|00001270| 65 72 4d 65 6e 75 73 0d | 2d 2d 20 64 6f 4d 65 6e |erMenus.|-- doMen|
|00001280| 75 20 22 4d 65 73 73 61 | 67 65 22 0d 69 66 20 22 |u "Messa|ge".if "|
|00001290| 46 69 6c 65 22 20 69 73 | 20 69 6e 20 74 68 65 20 |File" is| in the |
|000012a0| 6d 65 6e 75 73 20 74 68 | 65 6e 20 64 65 6c 65 74 |menus th|en delet|
|000012b0| 65 20 6d 65 6e 75 20 22 | 46 69 6c 65 22 0d 69 66 |e menu "|File".if|
|000012c0| 20 22 45 64 69 74 22 20 | 69 73 20 69 6e 20 74 68 | "Edit" |is in th|
|000012d0| 65 20 6d 65 6e 75 73 20 | 74 68 65 6e 20 64 65 6c |e menus |then del|
|000012e0| 65 74 65 20 6d 65 6e 75 | 20 22 45 64 69 74 22 0d |ete menu| "Edit".|
|000012f0| 2d 2d 69 66 20 22 47 6f | 22 20 69 73 20 69 6e 20 |--if "Go|" is in |
|00001300| 74 68 65 20 6d 65 6e 75 | 73 20 74 68 65 6e 20 64 |the menu|s then d|
|00001310| 65 6c 65 74 65 20 6d 65 | 6e 75 20 22 47 6f 22 0d |elete me|nu "Go".|
|00001320| 69 66 20 22 54 6f 6f 6c | 73 22 20 69 73 20 69 6e |if "Tool|s" is in|
|00001330| 20 74 68 65 20 6d 65 6e | 75 73 20 74 68 65 6e 20 | the men|us then |
|00001340| 64 65 6c 65 74 65 20 6d | 65 6e 75 20 22 54 6f 6f |delete m|enu "Too|
|00001350| 6c 73 22 0d 69 66 20 22 | 4f 62 6a 65 63 74 73 22 |ls".if "|Objects"|
|00001360| 20 69 73 20 69 6e 20 74 | 68 65 20 6d 65 6e 75 73 | is in t|he menus|
|00001370| 20 74 68 65 6e 20 64 65 | 6c 65 74 65 20 6d 65 6e | then de|lete men|
|00001380| 75 20 22 4f 62 6a 65 63 | 74 73 22 0d 69 66 20 22 |u "Objec|ts".if "|
|00001390| 46 6f 6e 74 22 20 69 73 | 20 69 6e 20 74 68 65 20 |Font" is| in the |
|000013a0| 6d 65 6e 75 73 20 74 68 | 65 6e 20 64 65 6c 65 74 |menus th|en delet|
|000013b0| 65 20 6d 65 6e 75 20 22 | 46 6f 6e 74 22 0d 69 66 |e menu "|Font".if|
|000013c0| 20 22 53 74 79 6c 65 22 | 20 69 73 20 69 6e 20 74 | "Style"| is in t|
|000013d0| 68 65 20 6d 65 6e 75 73 | 20 74 68 65 6e 20 64 65 |he menus| then de|
|000013e0| 6c 65 74 65 20 6d 65 6e | 75 20 22 53 74 79 6c 65 |lete men|u "Style|
|000013f0| 22 0d 73 65 74 20 74 68 | 65 20 75 73 65 72 6c 65 |".set th|e userle|
|00001400| 76 65 6c 20 74 6f 20 32 | 0d 65 6e 64 20 4b 6c 6f |vel to 2|.end Klo|
|00001410| 62 62 65 72 4d 65 6e 75 | 73 0d 0d 6f 6e 20 73 75 |bberMenu|s..on su|
|00001420| 73 70 65 6e 64 53 74 61 | 63 6b 0d 72 65 73 65 74 |spendSta|ck.reset|
|00001430| 20 6d 65 6e 75 62 61 72 | 0d 65 6e 64 20 73 75 73 | menubar|.end sus|
|00001440| 70 65 6e 64 73 74 61 63 | 6b 0d 0d 6f 6e 20 72 65 |pendstac|k..on re|
|00001450| 73 75 6d 65 73 74 61 63 | 6b 0d 70 72 65 70 61 72 |sumestac|k.prepar|
|00001460| 65 44 61 74 61 0d 65 6e | 64 20 72 65 73 75 6d 65 |eData.en|d resume|
|00001470| 73 74 61 63 6b 0d 0d 6f | 6e 20 72 65 76 65 72 73 |stack..o|n revers|
|00001480| 65 4d 6f 72 74 73 0d 67 | 6c 6f 62 61 6c 20 4d 6f |eMorts.g|lobal Mo|
|00001490| 72 74 4c 69 73 74 0d 72 | 65 70 65 61 74 20 77 69 |rtList.r|epeat wi|
|000014a0| 74 68 20 6b 20 3d 20 31 | 20 74 6f 20 28 74 68 65 |th k = 1| to (the|
|000014b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 77 6f 72 64 73 | number |of words|
|000014c0| 20 6f 66 20 4d 6f 72 74 | 4c 69 73 74 29 0d 69 6e | of Mort|List).in|
|000014d0| 76 65 72 74 53 71 75 61 | 72 65 20 28 77 6f 72 64 |vertSqua|re (word|
|000014e0| 20 6b 20 6f 66 20 4d 6f | 72 74 4c 69 73 74 29 0d | k of Mo|rtList).|
|000014f0| 76 69 73 4d 6f 72 74 28 | 77 6f 72 64 20 6b 20 6f |visMort(|word k o|
|00001500| 66 20 4d 6f 72 74 4c 69 | 73 74 29 0d 65 6e 64 20 |f MortLi|st).end |
|00001510| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 76 65 72 |repeat.e|nd rever|
|00001520| 73 65 4d 6f 72 74 73 0d | 0d 0d 6f 6e 20 43 6c 65 |seMorts.|..on Cle|
|00001530| 61 6e 42 6f 61 72 64 0d | 67 6f 20 63 64 20 22 4d |anBoard.|go cd "M|
|00001540| 61 69 6e 22 0d 70 75 74 | 20 22 22 20 69 6e 74 6f |ain".put| "" into|
|00001550| 20 63 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 6c | cd fld |"statusl|
|00001560| 69 6e 65 22 0d 67 6c 6f | 62 61 6c 20 72 62 61 73 |ine".glo|bal rbas|
|00001570| 65 2c 62 65 67 74 6f 6b | 2c 4d 6f 72 74 4c 69 73 |e,begtok|,MortLis|
|00001580| 74 0d 72 65 76 65 72 73 | 65 4d 6f 72 74 73 0d 70 |t.revers|eMorts.p|
|00001590| 75 74 20 22 22 20 69 6e | 74 6f 20 4d 6f 72 74 4c |ut "" in|to MortL|
|000015a0| 69 73 74 0d 72 65 70 65 | 61 74 20 77 69 74 68 20 |ist.repe|at with |
|000015b0| 69 20 3d 20 31 20 74 6f | 20 34 30 0d 69 66 20 53 |i = 1 to| 40.if S|
|000015c0| 51 74 79 70 65 28 69 29 | 20 63 6f 6e 74 61 69 6e |Qtype(i)| contain|
|000015d0| 73 20 22 43 6f 6c 6f 72 | 22 20 6f 72 20 53 51 74 |s "Color|" or SQt|
|000015e0| 79 70 65 28 69 29 20 63 | 6f 6e 74 61 69 6e 73 20 |ype(i) c|ontains |
|000015f0| 22 46 61 72 6d 22 20 74 | 68 65 6e 0d 70 75 74 20 |"Farm" t|hen.put |
|00001600| 6c 69 6e 65 20 31 33 20 | 6f 66 20 63 64 20 66 6c |line 13 |of cd fl|
|00001610| 64 20 22 47 65 6e 65 72 | 69 63 43 6f 6c 6f 72 22 |d "Gener|icColor"|
|00001620| 20 69 6e 74 6f 20 6c 69 | 6e 65 20 31 33 20 6f 66 | into li|ne 13 of|
|00001630| 20 63 64 20 66 6c 64 20 | 28 22 54 69 74 6c 65 22 | cd fld |("Title"|
|00001640| 26 69 29 0d 70 75 74 20 | 6c 69 6e 65 20 31 34 20 |&i).put |line 14 |
|00001650| 6f 66 20 63 64 20 66 6c | 64 20 22 47 65 6e 65 72 |of cd fl|d "Gener|
|00001660| 69 63 43 6f 6c 6f 72 22 | 20 69 6e 74 6f 20 6c 69 |icColor"| into li|
|00001670| 6e 65 20 31 34 20 6f 66 | 20 63 64 20 66 6c 64 20 |ne 14 of| cd fld |
|00001680| 28 22 54 69 74 6c 65 22 | 26 69 29 0d 65 6c 73 65 |("Title"|&i).else|
|00001690| 20 69 66 20 53 51 74 79 | 70 65 28 69 29 20 63 6f | if SQty|pe(i) co|
|000016a0| 6e 74 61 69 6e 73 20 22 | 55 74 69 6c 69 74 79 22 |ntains "|Utility"|
|000016b0| 20 6f 72 20 53 51 74 79 | 70 65 28 69 29 20 63 6f | or SQty|pe(i) co|
|000016c0| 6e 74 61 69 6e 73 20 22 | 54 72 61 6e 73 70 6f 72 |ntains "|Transpor|
|000016d0| 74 22 20 74 68 65 6e 0d | 70 75 74 20 6c 69 6e 65 |t" then.|put line|
|000016e0| 20 38 20 6f 66 20 63 64 | 20 66 6c 64 20 22 47 65 | 8 of cd| fld "Ge|
|000016f0| 6e 65 72 69 63 55 74 69 | 6c 69 74 79 22 20 69 6e |nericUti|lity" in|
|00001700| 74 6f 20 6c 69 6e 65 20 | 38 20 6f 66 20 63 64 20 |to line |8 of cd |
|00001710| 66 6c 64 20 28 22 54 69 | 74 6c 65 22 26 69 29 0d |fld ("Ti|tle"&i).|
|00001720| 70 75 74 20 6c 69 6e 65 | 20 39 20 6f 66 20 63 64 |put line| 9 of cd|
|00001730| 20 66 6c 64 20 22 47 65 | 6e 65 72 69 63 54 72 61 | fld "Ge|nericTra|
|00001740| 6e 73 70 6f 72 74 22 20 | 69 6e 74 6f 20 6c 69 6e |nsport" |into lin|
|00001750| 65 20 39 20 6f 66 20 63 | 64 20 66 6c 64 20 28 22 |e 9 of c|d fld ("|
|00001760| 54 69 74 6c 65 22 26 69 | 29 0d 65 6e 64 20 69 66 |Title"&i|).end if|
|00001770| 0d 73 65 74 20 74 68 65 | 20 63 75 72 73 6f 72 20 |.set the| cursor |
|00001780| 74 6f 20 62 75 73 79 0d | 69 66 20 74 68 65 72 65 |to busy.|if there|
|00001790| 20 69 73 20 61 20 63 64 | 20 62 74 6e 20 28 22 6c | is a cd| btn ("l|
|000017a0| 22 26 69 29 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |"&i) the|n.set th|
|000017b0| 65 20 69 63 6f 6e 20 6f | 66 20 63 64 20 62 74 6e |e icon o|f cd btn|
|000017c0| 20 28 22 6c 22 26 69 29 | 20 74 6f 20 30 0d 73 65 | ("l"&i)| to 0.se|
|000017d0| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|000017e0| 63 64 20 62 74 6e 20 28 | 22 6c 22 26 69 29 20 74 |cd btn (|"l"&i) t|
|000017f0| 6f 20 66 61 6c 73 65 0d | 64 65 56 69 73 4d 6f 72 |o false.|deVisMor|
|00001800| 74 20 69 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 |t i.end |if.if th|
|00001810| 65 72 65 20 69 73 20 61 | 20 63 64 20 62 74 6e 20 |ere is a| cd btn |
|00001820| 28 22 68 22 26 69 29 20 | 74 68 65 6e 20 73 65 74 |("h"&i) |then set|
|00001830| 20 74 68 65 20 69 63 6f | 6e 20 6f 66 20 63 64 20 | the ico|n of cd |
|00001840| 62 74 6e 20 28 22 68 22 | 26 69 29 20 6f 66 20 63 |btn ("h"|&i) of c|
|00001850| 64 20 22 4d 61 69 6e 22 | 20 74 6f 20 30 0d 73 65 |d "Main"| to 0.se|
|00001860| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00001870| 63 64 20 62 74 6e 20 28 | 22 62 22 26 69 29 20 74 |cd btn (|"b"&i) t|
|00001880| 6f 20 66 61 6c 73 65 0d | 65 6e 64 20 72 65 70 65 |o false.|end repe|
|00001890| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |at.repea|t with i|
|000018a0| 20 3d 20 31 20 74 6f 20 | 38 0d 68 69 64 65 20 63 | = 1 to |8.hide c|
|000018b0| 64 20 62 74 6e 20 28 72 | 62 61 73 65 2b 69 2d 31 |d btn (r|base+i-1|
|000018c0| 29 0d 68 69 64 65 20 63 | 64 20 66 6c 64 20 28 22 |).hide c|d fld ("|
|000018d0| 61 76 63 61 73 68 22 26 | 69 29 0d 73 65 74 20 74 |avcash"&|i).set t|
|000018e0| 68 65 20 6e 61 6d 65 20 | 6f 66 20 63 64 20 62 74 |he name |of cd bt|
|000018f0| 6e 20 28 62 65 67 74 6f | 6b 2b 69 2d 31 29 20 74 |n (begto|k+i-1) t|
|00001900| 6f 20 22 74 6f 6b 65 6e | 22 0d 65 6e 64 20 72 65 |o "token|".end re|
|00001910| 70 65 61 74 0d 65 6e 64 | 20 63 6c 65 61 6e 42 6f |peat.end| cleanBo|
|00001920| 61 72 64 0d 0d 6f 6e 20 | 63 6c 6f 73 65 53 74 61 |ard..on |closeSta|
|00001930| 63 6b 0d 67 6c 6f 62 61 | 6c 20 42 57 0d 6c 6f 63 |ck.globa|l BW.loc|
|00001940| 6b 20 73 63 72 65 65 6e | 0d 63 6c 65 61 6e 42 6f |k screen|.cleanBo|
|00001950| 61 72 64 0d 72 65 73 65 | 74 20 6d 65 6e 75 62 61 |ard.rese|t menuba|
|00001960| 72 0d 69 66 20 6e 6f 74 | 20 42 57 20 74 68 65 6e |r.if not| BW then|
|00001970| 20 63 6f 6c 6f 72 69 7a | 65 48 43 20 22 44 69 73 | coloriz|eHC "Dis|
|00001980| 70 6f 73 65 22 20 20 2d | 2d 20 6c 65 74 27 73 20 |pose" -|- let's |
|00001990| 63 6c 65 61 6e 20 75 70 | 0d 67 6c 6f 62 61 6c 20 |clean up|.global |
|000019a0| 62 77 70 61 69 6e 74 0d | 69 66 20 62 77 70 61 69 |bwpaint.|if bwpai|
|000019b0| 6e 74 20 69 73 20 74 72 | 75 65 20 74 68 65 6e 0d |nt is tr|ue then.|
|000019c0| 63 68 6f 6f 73 65 20 73 | 65 6c 65 63 74 20 74 6f |choose s|elect to|
|000019d0| 6f 6c 0d 73 68 6f 77 20 | 63 64 20 70 69 63 74 0d |ol.show |cd pict.|
|000019e0| 64 6f 4d 65 6e 75 20 22 | 53 65 6c 65 63 74 20 41 |doMenu "|Select A|
|000019f0| 6c 6c 22 0d 64 6f 4d 65 | 6e 75 20 22 43 75 74 20 |ll".doMe|nu "Cut |
|00001a00| 50 69 63 74 75 72 65 22 | 0d 63 68 6f 6f 73 65 20 |Picture"|.choose |
|00001a10| 62 72 6f 77 73 65 20 74 | 6f 6f 6c 0d 70 75 74 20 |browse t|ool.put |
|00001a20| 66 61 6c 73 65 20 69 6e | 74 6f 20 62 77 70 61 69 |false in|to bwpai|
|00001a30| 6e 74 0d 65 6e 64 20 69 | 66 0d 64 6f 4d 65 6e 75 |nt.end i|f.doMenu|
|00001a40| 20 22 43 6f 6d 70 61 63 | 74 20 53 74 61 63 6b 22 | "Compac|t Stack"|
|00001a50| 0d 65 6e 64 20 63 6c 6f | 73 65 53 74 61 63 6b 0d |.end clo|seStack.|
|00001a60| 0d 0d 6f 6e 20 62 75 73 | 69 6e 65 73 73 20 61 6d |..on bus|iness am|
|00001a70| 74 2c 70 72 6f 70 6e 75 | 6d 2c 73 65 6c 6c 65 72 |t,propnu|m,seller|
|00001a80| 2c 62 75 79 65 72 0d 67 | 6c 6f 62 61 6c 20 4d 6f |,buyer.g|lobal Mo|
|00001a90| 6e 65 79 2c 50 6c 61 79 | 65 72 50 72 6f 66 2c 56 |ney,Play|erProf,V|
|00001aa0| 6f 6c 61 74 69 6c 65 44 | 61 74 61 2c 42 61 6e 6b |olatileD|ata,Bank|
|00001ab0| 2c 4d 6f 6e 6f 70 2c 43 | 6f 73 74 2c 50 72 6f 70 |,Monop,C|ost,Prop|
|00001ac0| 4c 69 73 74 2c c2 0d 41 | 73 73 65 74 73 2c 44 61 |List,..A|ssets,Da|
|00001ad0| 74 61 2c 4d 6f 72 74 67 | 61 67 65 56 61 6c 75 65 |ta,Mortg|ageValue|
|00001ae0| 2c 4d 6f 6e 65 79 4f 77 | 65 64 2c 43 72 65 64 69 |,MoneyOw|ed,Credi|
|00001af0| 74 6f 72 2c 45 64 75 4d | 6f 64 65 0d 2d 2d 61 73 |tor,EduM|ode.--as|
|00001b00| 73 75 6d 65 73 20 76 61 | 6c 69 64 69 74 79 20 6f |sumes va|lidity o|
|00001b10| 66 20 74 72 61 6e 73 61 | 63 74 69 6f 6e 20 61 6c |f transa|ction al|
|00001b20| 72 65 61 64 79 20 63 68 | 65 63 6b 65 64 0d 69 66 |ready ch|ecked.if|
|00001b30| 20 73 65 6c 6c 65 72 20 | 3d 20 30 20 74 68 65 6e | seller |= 0 then|
|00001b40| 0d 61 64 64 20 61 6d 74 | 20 74 6f 20 42 61 6e 6b |.add amt| to Bank|
|00001b50| 0d 65 6c 73 65 0d 69 66 | 20 45 64 75 4d 6f 64 65 |.else.if| EduMode|
|00001b60| 20 69 73 20 74 72 75 65 | 20 74 68 65 6e 20 45 64 | is true| then Ed|
|00001b70| 75 20 61 6d 74 2c 73 65 | 6c 6c 65 72 0d 61 64 64 |u amt,se|ller.add|
|00001b80| 20 61 6d 74 20 74 6f 20 | 69 74 65 6d 20 4d 6f 6e | amt to |item Mon|
|00001b90| 65 79 20 6f 66 20 6c 69 | 6e 65 20 73 65 6c 6c 65 |ey of li|ne selle|
|00001ba0| 72 20 6f 66 20 50 6c 61 | 79 65 72 50 72 6f 66 0d |r of Pla|yerProf.|
|00001bb0| 69 66 20 69 74 65 6d 20 | 43 72 65 64 69 74 6f 72 |if item |Creditor|
|00001bc0| 20 6f 66 20 6c 69 6e 65 | 20 73 65 6c 6c 65 72 20 | of line| seller |
|00001bd0| 6f 66 20 50 6c 61 79 65 | 72 50 72 6f 66 20 3c 3e |of Playe|rProf <>|
|00001be0| 20 22 22 20 74 68 65 6e | 0d 70 61 79 44 65 62 74 | "" then|.payDebt|
|00001bf0| 20 73 65 6c 6c 65 72 0d | 65 6e 64 20 69 66 0d 70 | seller.|end if.p|
|00001c00| 75 74 20 69 74 65 6d 20 | 4d 6f 6e 65 79 20 6f 66 |ut item |Money of|
|00001c10| 20 6c 69 6e 65 20 73 65 | 6c 6c 65 72 20 6f 66 20 | line se|ller of |
|00001c20| 50 6c 61 79 65 72 50 72 | 6f 66 20 69 6e 74 6f 20 |PlayerPr|of into |
|00001c30| 63 64 20 66 6c 64 20 28 | 22 61 76 63 61 73 68 22 |cd fld (|"avcash"|
|00001c40| 26 73 65 6c 6c 65 72 29 | 20 6f 66 20 63 64 20 22 |&seller)| of cd "|
|00001c50| 4d 61 69 6e 22 0d 65 6e | 64 20 69 66 0d 69 66 20 |Main".en|d if.if |
|00001c60| 62 75 79 65 72 20 3d 20 | 30 20 74 68 65 6e 0d 73 |buyer = |0 then.s|
|00001c70| 75 62 74 72 61 63 74 20 | 61 6d 74 20 66 72 6f 6d |ubtract |amt from|
|00001c80| 20 42 61 6e 6b 0d 65 6c | 73 65 0d 69 66 20 45 64 | Bank.el|se.if Ed|
|00001c90| 75 4d 6f 64 65 20 69 73 | 20 74 72 75 65 20 74 68 |uMode is| true th|
|00001ca0| 65 6e 20 45 64 75 20 28 | 2d 31 2a 61 6d 74 29 2c |en Edu (|-1*amt),|
|00001cb0| 62 75 79 65 72 0d 73 75 | 62 74 72 61 63 74 20 61 |buyer.su|btract a|
|00001cc0| 6d 74 20 66 72 6f 6d 20 | 69 74 65 6d 20 4d 6f 6e |mt from |item Mon|
|00001cd0| 65 79 20 6f 66 20 6c 69 | 6e 65 20 62 75 79 65 72 |ey of li|ne buyer|
|00001ce0| 20 6f 66 20 50 6c 61 79 | 65 72 50 72 6f 66 0d 2d | of Play|erProf.-|
|00001cf0| 2d 68 61 6e 64 6c 65 20 | 64 65 62 74 73 20 68 65 |-handle |debts he|
|00001d00| 72 65 0d 69 66 20 69 74 | 65 6d 20 4d 6f 6e 65 79 |re.if it|em Money|
|00001d10| 20 6f 66 20 6c 69 6e 65 | 20 62 75 79 65 72 20 6f | of line| buyer o|
|00001d20| 66 20 50 6c 61 79 65 72 | 50 72 6f 66 20 3c 20 30 |f Player|Prof < 0|
|00001d30| 20 74 68 65 6e 20 2d 2d | 77 65 20 68 61 76 65 20 | then --|we have |
|00001d40| 61 20 64 65 62 74 0d 69 | 6e 63 75 72 44 65 62 74 |a debt.i|ncurDebt|
|00001d50| 20 62 75 79 65 72 2c 73 | 65 6c 6c 65 72 0d 65 6e | buyer,s|eller.en|
|00001d60| 64 20 69 66 0d 70 75 74 | 20 69 74 65 6d 20 4d 6f |d if.put| item Mo|
|00001d70| 6e 65 79 20 6f 66 20 6c | 69 6e 65 20 62 75 79 65 |ney of l|ine buye|
|00001d80| 72 20 6f 66 20 50 6c 61 | 79 65 72 50 72 6f 66 20 |r of Pla|yerProf |
|00001d90| 69 6e 74 6f 20 63 64 20 | 66 6c 64 20 28 22 61 76 |into cd |fld ("av|
|00001da0| 63 61 73 68 22 26 62 75 | 79 65 72 29 20 6f 66 20 |cash"&bu|yer) of |
|00001db0| 63 64 20 22 4d 61 69 6e | 22 0d 65 6e 64 20 69 66 |cd "Main|".end if|
|00001dc0| 0d 69 66 20 70 72 6f 70 | 6e 75 6d 20 3e 20 30 20 |.if prop|num > 0 |
|00001dd0| 74 68 65 6e 20 20 2d 2d | 69 74 27 73 20 61 20 6c |then --|it's a l|
|00001de0| 6f 74 0d 70 75 74 20 69 | 74 65 6d 20 4d 6f 6e 6f |ot.put i|tem Mono|
|00001df0| 70 20 6f 66 20 6c 69 6e | 65 20 70 72 6f 70 6e 75 |p of lin|e propnu|
|00001e00| 6d 20 6f 66 20 44 61 74 | 61 20 69 6e 74 6f 20 6d |m of Dat|a into m|
|00001e10| 6e 6f 0d 69 66 20 73 65 | 6c 6c 65 72 20 3c 3e 20 |no.if se|ller <> |
|00001e20| 30 20 74 68 65 6e 20 20 | 2d 2d 64 65 6c 65 74 65 |0 then |--delete|
|00001e30| 20 74 68 65 20 6c 6f 74 | 20 66 72 6f 6d 20 73 65 | the lot| from se|
|00001e40| 6c 6c 65 72 73 20 70 72 | 6f 70 6c 69 73 74 0d 70 |llers pr|oplist.p|
|00001e50| 75 74 20 69 74 65 6d 20 | 70 72 6f 70 4c 69 73 74 |ut item |propList|
|00001e60| 20 6f 66 20 6c 69 6e 65 | 20 73 65 6c 6c 65 72 20 | of line| seller |
|00001e70| 6f 66 20 50 6c 61 79 65 | 72 50 72 6f 66 20 69 6e |of Playe|rProf in|
|00001e80| 74 6f 20 70 72 6f 70 73 | 0d 72 65 70 65 61 74 20 |to props|.repeat |
|00001e90| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 28 74 |with i =| 1 to (t|
|00001ea0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 77 6f 72 |he numbe|r of wor|
|00001eb0| 64 73 20 6f 66 20 70 72 | 6f 70 73 29 0d 69 66 20 |ds of pr|ops).if |
|00001ec0| 77 6f 72 64 20 69 20 6f | 66 20 70 72 6f 70 73 20 |word i o|f props |
|00001ed0| 3d 20 70 72 6f 70 6e 75 | 6d 20 74 68 65 6e 0d 64 |= propnu|m then.d|
|00001ee0| 65 6c 65 74 65 20 77 6f | 72 64 20 69 20 6f 66 20 |elete wo|rd i of |
|00001ef0| 70 72 6f 70 73 0d 65 78 | 69 74 20 72 65 70 65 61 |props.ex|it repea|
|00001f00| 74 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 72 65 70 |t.end if|.end rep|
|00001f10| 65 61 74 0d 70 75 74 20 | 70 72 6f 70 73 20 69 6e |eat.put |props in|
|00001f20| 74 6f 20 69 74 65 6d 20 | 70 72 6f 70 6c 69 73 74 |to item |proplist|
|00001f30| 20 6f 66 20 6c 69 6e 65 | 20 73 65 6c 6c 65 72 20 | of line| seller |
|00001f40| 6f 66 20 50 6c 61 79 65 | 72 50 72 6f 66 0d 65 6e |of Playe|rProf.en|
|00001f50| 64 20 69 66 0d 2d 2d 70 | 75 74 20 74 68 65 20 70 |d if.--p|ut the p|
|00001f60| 72 6f 70 65 72 74 79 20 | 69 6e 74 6f 20 74 68 65 |roperty |into the|
|00001f70| 20 62 75 79 65 72 27 73 | 20 6c 69 73 74 0d 69 66 | buyer's| list.if|
|00001f80| 20 62 75 79 65 72 20 3c | 3e 20 30 20 74 68 65 6e | buyer <|> 0 then|
|00001f90| 20 70 75 74 20 22 20 22 | 20 26 20 70 72 6f 70 6e | put " "| & propn|
|00001fa0| 75 6d 20 61 66 74 65 72 | 20 69 74 65 6d 20 50 72 |um after| item Pr|
|00001fb0| 6f 70 6c 69 73 74 20 6f | 66 20 6c 69 6e 65 20 62 |oplist o|f line b|
|00001fc0| 75 79 65 72 20 6f 66 20 | 50 6c 61 79 65 72 50 72 |uyer of |PlayerPr|
|00001fd0| 6f 66 0d 2d 2d 63 68 61 | 6e 67 65 20 74 68 65 20 |of.--cha|nge the |
|00001fe0| 6f 77 6e 65 72 20 61 6c | 73 6f 0d 64 65 4d 6f 6e |owner al|so.deMon|
|00001ff0| 6f 70 20 6d 6e 6f 2c 73 | 65 6c 6c 65 72 0d 70 75 |op mno,s|eller.pu|
|00002000| 74 20 62 75 79 65 72 20 | 69 6e 74 6f 20 69 74 65 |t buyer |into ite|
|00002010| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 70 72 6f 70 |m 1 of l|ine prop|
|00002020| 6e 75 6d 20 6f 66 20 56 | 6f 6c 61 74 69 6c 65 44 |num of V|olatileD|
|00002030| 61 74 61 0d 69 66 20 62 | 75 79 65 72 20 3c 3e 20 |ata.if b|uyer <> |
|00002040| 30 20 74 68 65 6e 0d 70 | 75 74 20 69 74 65 6d 20 |0 then.p|ut item |
|00002050| 31 20 6f 66 20 6c 69 6e | 65 20 62 75 79 65 72 20 |1 of lin|e buyer |
|00002060| 6f 66 20 50 6c 61 79 65 | 72 50 72 6f 66 20 69 6e |of Playe|rProf in|
|00002070| 74 6f 20 6f 77 6e 0d 65 | 6c 73 65 0d 70 75 74 20 |to own.e|lse.put |
|00002080| 22 42 61 6e 6b 22 20 69 | 6e 74 6f 20 6f 77 6e 0d |"Bank" i|nto own.|
|00002090| 65 6e 64 20 69 66 0d 70 | 75 74 20 4d 6f 6e 6f 70 |end if.p|ut Monop|
|000020a0| 43 68 65 63 6b 28 6d 6e | 6f 2c 62 75 79 65 72 29 |Check(mn|o,buyer)|
|000020b0| 20 69 6e 74 6f 20 6d 63 | 68 65 63 6b 0d 69 66 20 | into mc|heck.if |
|000020c0| 28 53 51 54 79 70 65 28 | 70 72 6f 70 6e 75 6d 29 |(SQType(|propnum)|
|000020d0| 20 63 6f 6e 74 61 69 6e | 73 20 22 43 6f 6c 6f 72 | contain|s "Color|
|000020e0| 22 29 20 6f 72 20 28 53 | 51 54 79 70 65 28 70 72 |") or (S|QType(pr|
|000020f0| 6f 70 6e 75 6d 29 20 63 | 6f 6e 74 61 69 6e 73 20 |opnum) c|ontains |
|00002100| 22 46 61 72 6d 22 29 20 | 74 68 65 6e 0d 70 75 74 |"Farm") |then.put|
|00002110| 20 6f 77 6e 20 69 6e 74 | 6f 20 77 6f 72 64 20 32 | own int|o word 2|
|00002120| 20 6f 66 20 6c 69 6e 65 | 20 31 33 20 6f 66 20 63 | of line| 13 of c|
|00002130| 64 20 66 6c 64 20 28 22 | 54 69 74 6c 65 22 26 70 |d fld ("|Title"&p|
|00002140| 72 6f 70 6e 75 6d 29 20 | 6f 66 20 63 64 20 22 4d |ropnum) |of cd "M|
|00002150| 61 69 6e 22 0d 69 66 20 | 6d 63 68 65 63 6b 20 74 |ain".if |mcheck t|
|00002160| 68 65 6e 0d 70 75 74 20 | 22 47 72 6f 75 70 22 20 |hen.put |"Group" |
|00002170| 61 66 74 65 72 20 6c 69 | 6e 65 20 31 34 20 6f 66 |after li|ne 14 of|
|00002180| 20 63 64 20 66 6c 64 20 | 28 22 54 69 74 6c 65 22 | cd fld |("Title"|
|00002190| 26 70 72 6f 70 6e 75 6d | 29 20 6f 66 20 63 64 20 |&propnum|) of cd |
|000021a0| 22 4d 61 69 6e 22 0d 65 | 6e 64 20 69 66 0d 65 6c |"Main".e|nd if.el|
|000021b0| 73 65 20 20 2d 2d 69 74 | 73 20 61 20 75 74 69 6c |se --it|s a util|
|000021c0| 69 74 79 20 6f 72 20 74 | 72 61 6e 73 70 6f 72 74 |ity or t|ransport|
|000021d0| 0d 70 75 74 20 6f 77 6e | 20 69 6e 74 6f 20 77 6f |.put own| into wo|
|000021e0| 72 64 20 32 20 6f 66 20 | 6c 69 6e 65 20 38 20 6f |rd 2 of |line 8 o|
|000021f0| 66 20 63 64 20 66 6c 64 | 20 28 22 54 69 74 6c 65 |f cd fld| ("Title|
|00002200| 22 26 70 72 6f 70 6e 75 | 6d 29 20 6f 66 20 63 64 |"&propnu|m) of cd|
|00002210| 20 22 4d 61 69 6e 22 0d | 69 66 20 6d 63 68 65 63 | "Main".|if mchec|
|00002220| 6b 20 74 68 65 6e 0d 70 | 75 74 20 22 47 72 6f 75 |k then.p|ut "Grou|
|00002230| 70 22 20 61 66 74 65 72 | 20 6c 69 6e 65 20 39 20 |p" after| line 9 |
|00002240| 6f 66 20 63 64 20 66 6c | 64 20 28 22 54 69 74 6c |of cd fl|d ("Titl|
|00002250| 65 22 26 70 72 6f 70 6e | 75 6d 29 20 6f 66 20 63 |e"&propn|um) of c|
|00002260| 64 20 22 4d 61 69 6e 22 | 0d 65 6e 64 20 69 66 0d |d "Main"|.end if.|
|00002270| 65 6e 64 20 69 66 0d 76 | 69 73 4f 77 6e 20 70 72 |end if.v|isOwn pr|
|00002280| 6f 70 6e 75 6d 2c 62 75 | 79 65 72 0d 65 6e 64 20 |opnum,bu|yer.end |
|00002290| 69 66 0d 65 6e 64 20 62 | 75 73 69 6e 65 73 73 0d |if.end b|usiness.|
|000022a0| 0d 0d 0d 6f 6e 20 69 6e | 63 75 72 44 65 62 74 20 |...on in|curDebt |
|000022b0| 62 75 79 2c 73 65 6c 6c | 0d 67 6c 6f 62 61 6c 20 |buy,sell|.global |
|000022c0| 50 6c 61 79 65 72 50 72 | 6f 66 2c 63 72 65 64 69 |PlayerPr|of,credi|
|000022d0| 74 6f 72 0d 70 75 74 20 | 73 65 6c 6c 20 69 6e 74 |tor.put |sell int|
|000022e0| 6f 20 69 74 65 6d 20 43 | 72 65 64 69 74 6f 72 20 |o item C|reditor |
|000022f0| 6f 66 20 6c 69 6e 65 20 | 62 75 79 20 6f 66 20 50 |of line |buy of P|
|00002300| 6c 61 79 65 72 50 72 6f | 66 0d 65 6e 64 20 69 6e |layerPro|f.end in|
|00002310| 63 75 72 44 65 62 74 0d | 0d 6f 6e 20 70 61 79 44 |curDebt.|.on payD|
|00002320| 65 62 74 20 70 6e 75 6d | 0d 67 6c 6f 62 61 6c 20 |ebt pnum|.global |
|00002330| 50 6c 61 79 65 72 50 72 | 6f 66 2c 43 72 65 64 69 |PlayerPr|of,Credi|
|00002340| 74 6f 72 2c 4d 6f 6e 65 | 79 0d 69 66 20 69 74 65 |tor,Mone|y.if ite|
|00002350| 6d 20 4d 6f 6e 65 79 20 | 6f 66 20 6c 69 6e 65 20 |m Money |of line |
|00002360| 70 6e 75 6d 20 6f 66 20 | 50 6c 61 79 65 72 50 72 |pnum of |PlayerPr|
|00002370| 6f 66 20 3e 3d 20 30 20 | 74 68 65 6e 0d 70 75 74 |of >= 0 |then.put|
|00002380| 20 22 22 20 69 6e 74 6f | 20 69 74 65 6d 20 43 72 | "" into| item Cr|
|00002390| 65 64 69 74 6f 72 20 6f | 66 20 6c 69 6e 65 20 70 |editor o|f line p|
|000023a0| 6e 75 6d 20 6f 66 20 50 | 6c 61 79 65 72 50 72 6f |num of P|layerPro|
|000023b0| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 70 61 79 |f.end if|.end pay|
|000023c0| 44 65 62 74 0d 0d 6f 6e | 20 63 6f 72 6e 65 72 54 |Debt..on| cornerT|
|000023d0| 6f 6b 73 0d 67 6c 6f 62 | 61 6c 20 62 65 67 74 6f |oks.glob|al begto|
|000023e0| 6b 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |k.repeat| with i |
|000023f0| 3d 20 62 65 67 74 6f 6b | 20 74 6f 20 28 62 65 67 |= begtok| to (beg|
|00002400| 74 6f 6b 2b 37 29 0d 73 | 65 74 20 74 68 65 20 6e |tok+7).s|et the n|
|00002410| 61 6d 65 20 6f 66 20 63 | 64 20 62 74 6e 20 69 20 |ame of c|d btn i |
|00002420| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 20 74 6f 20 |of cd "M|ain" to |
|00002430| 22 74 6f 6b 65 6e 22 0d | 70 75 74 20 6c 69 6e 65 |"token".|put line|
|00002440| 20 28 69 2d 62 65 67 74 | 6f 6b 29 2b 31 20 6f 66 | (i-begt|ok)+1 of|
|00002450| 20 63 64 20 66 6c 64 20 | 22 74 6f 6b 6c 6f 63 22 | cd fld |"tokloc"|
|00002460| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 20 69 6e | of cd "|Main" in|
|00002470| 74 6f 20 6c 6f 6b 0d 73 | 68 6f 77 20 63 64 20 62 |to lok.s|how cd b|
|00002480| 74 6e 20 69 20 6f 66 20 | 63 64 20 22 4d 61 69 6e |tn i of |cd "Main|
|00002490| 22 20 61 74 20 6c 6f 6b | 0d 73 65 74 20 74 68 65 |" at lok|.set the|
|000024a0| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|000024b0| 6e 20 69 20 74 6f 20 66 | 61 6c 73 65 0d 65 6e 64 |n i to f|alse.end|
|000024c0| 20 72 65 70 65 61 74 0d | 65 6e 64 20 63 6f 72 6e | repeat.|end corn|
|000024d0| 65 72 54 6f 6b 73 0d 0d | 6f 6e 20 64 65 4d 6f 6e |erToks..|on deMon|
|000024e0| 6f 70 20 6d 6e 6f 2c 78 | 0d 67 6c 6f 62 61 6c 20 |op mno,x|.global |
|000024f0| 4d 6f 6e 6f 70 73 2c 6d | 62 61 73 65 2c 4d 6f 6e |Monops,m|base,Mon|
|00002500| 6f 70 73 0d 69 66 20 69 | 74 65 6d 20 33 20 6f 66 |ops.if i|tem 3 of|
|00002510| 20 6c 69 6e 65 20 6d 6e | 6f 20 6f 66 20 4d 6f 6e | line mn|o of Mon|
|00002520| 6f 70 73 20 3d 20 78 20 | 74 68 65 6e 0d 70 75 74 |ops = x |then.put|
|00002530| 20 2d 31 20 69 6e 74 6f | 20 69 74 65 6d 20 33 20 | -1 into| item 3 |
|00002540| 6f 66 20 6c 69 6e 65 20 | 6d 6e 6f 20 6f 66 20 4d |of line |mno of M|
|00002550| 6f 6e 6f 70 73 0d 69 66 | 20 28 53 51 74 79 70 65 |onops.if| (SQtype|
|00002560| 28 78 29 20 63 6f 6e 74 | 61 69 6e 73 20 22 43 6f |(x) cont|ains "Co|
|00002570| 6c 6f 72 22 29 20 6f 72 | 20 28 53 51 74 79 70 65 |lor") or| (SQtype|
|00002580| 28 78 29 20 63 6f 6e 74 | 61 69 6e 73 20 22 46 61 |(x) cont|ains "Fa|
|00002590| 72 6d 22 29 20 74 68 65 | 6e 20 70 75 74 20 31 34 |rm") the|n put 14|
|000025a0| 20 69 6e 74 6f 20 6c 6e | 6f 20 65 6c 73 65 20 70 | into ln|o else p|
|000025b0| 75 74 20 39 20 69 6e 74 | 6f 20 6c 6e 6f 0d 70 75 |ut 9 int|o lno.pu|
|000025c0| 74 20 22 54 69 74 6c 65 | 22 26 78 20 69 6e 74 6f |t "Title|"&x into|
|000025d0| 20 64 65 65 64 0d 72 65 | 70 65 61 74 20 77 69 74 | deed.re|peat wit|
|000025e0| 68 20 6b 20 3d 20 32 20 | 74 6f 20 28 74 68 65 20 |h k = 2 |to (the |
|000025f0| 6e 75 6d 62 65 72 20 6f | 66 20 77 6f 72 64 73 20 |number o|f words |
|00002600| 6f 66 20 6c 69 6e 65 20 | 6c 6e 6f 20 6f 66 20 63 |of line |lno of c|
|00002610| 64 20 66 6c 64 20 64 65 | 65 64 20 6f 66 20 63 64 |d fld de|ed of cd|
|00002620| 20 22 4d 61 69 6e 22 29 | 0d 69 66 20 77 6f 72 64 | "Main")|.if word|
|00002630| 20 32 20 6f 66 20 6c 69 | 6e 65 20 6c 6e 6f 20 6f | 2 of li|ne lno o|
|00002640| 66 20 63 64 20 66 6c 64 | 20 64 65 65 64 20 6f 66 |f cd fld| deed of|
|00002650| 20 63 64 20 22 4d 61 69 | 6e 22 20 3d 20 22 47 72 | cd "Mai|n" = "Gr|
|00002660| 6f 75 70 22 20 74 68 65 | 6e 20 64 65 6c 65 74 65 |oup" the|n delete|
|00002670| 20 77 6f 72 64 20 32 20 | 6f 66 20 6c 69 6e 65 20 | word 2 |of line |
|00002680| 6c 6e 6f 20 6f 66 20 63 | 64 20 66 6c 64 20 64 65 |lno of c|d fld de|
|00002690| 65 64 20 6f 66 20 63 64 | 20 22 4d 61 69 6e 22 0d |ed of cd| "Main".|
|000026a0| 65 6e 64 20 72 65 70 65 | 61 74 0d 65 6e 64 20 69 |end repe|at.end i|
|000026b0| 66 0d 65 6e 64 20 64 65 | 6d 6f 6e 6f 70 0d 0d 6f |f.end de|monop..o|
|000026c0| 6e 20 68 69 64 65 74 6f | 6b 73 0d 67 6c 6f 62 61 |n hideto|ks.globa|
|000026d0| 6c 20 62 65 67 74 6f 6b | 0d 72 65 70 65 61 74 20 |l begtok|.repeat |
|000026e0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 38 0d |with i =| 1 to 8.|
|000026f0| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of |
|00002700| 63 64 20 62 74 6e 20 28 | 62 65 67 74 6f 6b 2b 69 |cd btn (|begtok+i|
|00002710| 2d 31 29 20 74 6f 20 22 | 74 6f 6b 65 6e 22 0d 68 |-1) to "|token".h|
|00002720| 69 64 65 20 63 64 20 62 | 74 6e 20 28 62 65 67 74 |ide cd b|tn (begt|
|00002730| 6f 6b 2b 69 2d 31 29 20 | 2d 2d 61 74 20 28 6c 69 |ok+i-1) |--at (li|
|00002740| 6e 65 20 69 20 6f 66 20 | 63 64 20 66 6c 64 20 22 |ne i of |cd fld "|
|00002750| 74 6f 6b 6c 6f 63 22 29 | 0d 65 6e 64 20 72 65 70 |tokloc")|.end rep|
|00002760| 65 61 74 0d 65 6e 64 20 | 68 69 64 65 74 6f 6b 73 |eat.end |hidetoks|
|00002770| 0d 0d 6f 6e 20 45 64 75 | 20 61 6d 74 2c 70 6c 61 |..on Edu| amt,pla|
|00002780| 79 65 72 0d 67 6c 6f 62 | 61 6c 20 50 6c 61 79 65 |yer.glob|al Playe|
|00002790| 72 50 72 6f 66 2c 4d 6f | 6e 65 79 2c 45 64 75 42 |rProf,Mo|ney,EduB|
|000027a0| 6f 6e 75 73 2c 45 64 75 | 50 65 6e 61 0d 70 75 74 |onus,Edu|Pena.put|
|000027b0| 20 28 69 74 65 6d 20 4d | 6f 6e 65 79 20 6f 66 20 | (item M|oney of |
|000027c0| 6c 69 6e 65 20 70 6c 61 | 79 65 72 20 6f 66 20 50 |line pla|yer of P|
|000027d0| 6c 61 79 65 72 50 72 6f | 66 29 2b 61 6d 74 20 69 |layerPro|f)+amt i|
|000027e0| 6e 74 6f 20 72 65 73 70 | 6f 6e 73 65 0d 61 73 6b |nto resp|onse.ask|
|000027f0| 20 28 69 74 65 6d 20 31 | 20 6f 66 20 6c 69 6e 65 | (item 1| of line|
|00002800| 20 70 6c 61 79 65 72 20 | 6f 66 20 50 6c 61 79 65 | player |of Playe|
|00002810| 72 50 72 6f 66 29 20 26 | 20 67 65 74 73 74 72 28 |rProf) &| getstr(|
|00002820| 36 33 29 0d 69 66 20 69 | 74 20 69 73 20 72 65 73 |63).if i|t is res|
|00002830| 70 6f 6e 73 65 20 74 68 | 65 6e 0d 70 6c 61 79 20 |ponse th|en.play |
|00002840| 22 66 6c 75 74 65 22 20 | 22 63 34 73 20 66 20 61 |"flute" |"c4s f a|
|00002850| 20 63 35 65 20 61 34 73 | 20 63 35 65 2e 22 0d 69 | c5e a4s| c5e.".i|
|00002860| 66 20 45 64 75 42 6f 6e | 75 73 20 3c 3e 20 30 20 |f EduBon|us <> 0 |
|00002870| 74 68 65 6e 0d 66 6c 61 | 73 68 69 74 20 67 65 74 |then.fla|shit get|
|00002880| 73 74 72 28 36 34 29 20 | 26 20 45 64 75 42 6f 6e |str(64) |& EduBon|
|00002890| 75 73 2c 33 0d 61 64 64 | 20 45 64 75 42 6f 6e 75 |us,3.add| EduBonu|
|000028a0| 73 20 74 6f 20 69 74 65 | 6d 20 4d 6f 6e 65 79 20 |s to ite|m Money |
|000028b0| 6f 66 20 6c 69 6e 65 20 | 70 6c 61 79 65 72 20 6f |of line |player o|
|000028c0| 66 20 50 6c 61 79 65 72 | 50 72 6f 66 0d 65 6e 64 |f Player|Prof.end|
|000028d0| 20 69 66 0d 65 6c 73 65 | 0d 70 6c 61 79 20 20 22 | if.else|.play "|
|000028e0| 66 61 72 74 22 0d 69 66 | 20 45 64 75 50 65 6e 61 |fart".if| EduPena|
|000028f0| 20 3c 3e 20 30 20 74 68 | 65 6e 0d 66 6c 61 73 68 | <> 0 th|en.flash|
|00002900| 69 74 20 67 65 74 73 74 | 72 28 36 35 29 20 26 20 |it getst|r(65) & |
|00002910| 72 65 73 70 6f 6e 73 65 | 20 26 20 67 65 74 73 74 |response| & getst|
|00002920| 72 28 36 36 29 20 26 20 | 20 45 64 75 50 65 6e 61 |r(66) & | EduPena|
|00002930| 0d 73 75 62 74 72 61 63 | 74 20 45 64 75 50 65 6e |.subtrac|t EduPen|
|00002940| 61 20 66 72 6f 6d 20 69 | 74 65 6d 20 4d 6f 6e 65 |a from i|tem Mone|
|00002950| 79 20 6f 66 20 6c 69 6e | 65 20 70 6c 61 79 65 72 |y of lin|e player|
|00002960| 20 6f 66 20 50 6c 61 79 | 65 72 50 72 6f 66 0d 65 | of Play|erProf.e|
|00002970| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00002980| 20 45 64 75 0d 0d 0d 6f | 6e 20 74 72 61 64 65 0d | Edu...o|n trade.|
|00002990| 67 6c 6f 62 61 6c 20 64 | 65 61 6c 65 72 31 2c 64 |global d|ealer1,d|
|000029a0| 65 61 6c 65 72 32 2c 47 | 61 6d 65 0d 69 66 20 47 |ealer2,G|ame.if G|
|000029b0| 61 6d 65 20 3c 3e 20 74 | 72 75 65 20 74 68 65 6e |ame <> t|rue then|
|000029c0| 0d 66 6c 61 73 68 69 74 | 20 22 4e 6f 20 70 6c 61 |.flashit| "No pla|
|000029d0| 79 65 72 73 20 79 65 74 | 2d 2d 77 65 20 63 61 6e |yers yet|--we can|
|000029e0| d5 74 20 64 6f 20 61 20 | 64 65 61 6c 21 22 2c 34 |.t do a |deal!",4|
|000029f0| 0d 65 78 69 74 20 74 72 | 61 64 65 0d 65 6e 64 20 |.exit tr|ade.end |
|00002a00| 69 66 0d 70 75 74 20 67 | 65 74 50 6c 61 79 65 72 |if.put g|etPlayer|
|00002a10| 4e 75 6d 28 67 65 74 53 | 74 72 28 31 29 29 20 69 |Num(getS|tr(1)) i|
|00002a20| 6e 74 6f 20 64 65 61 6c | 65 72 31 0d 67 6c 6f 62 |nto deal|er1.glob|
|00002a30| 61 6c 20 50 6c 61 79 65 | 72 50 72 6f 66 2c 73 74 |al Playe|rProf,st|
|00002a40| 61 74 75 73 0d 70 75 74 | 20 67 65 74 50 6c 61 79 |atus.put| getPlay|
|00002a50| 65 72 4e 75 6d 28 67 65 | 74 53 74 72 28 32 29 29 |erNum(ge|tStr(2))|
|00002a60| 20 69 6e 74 6f 20 64 65 | 61 6c 65 72 32 0d 69 66 | into de|aler2.if|
|00002a70| 20 28 69 74 65 6d 20 73 | 74 61 74 75 73 20 6f 66 | (item s|tatus of|
|00002a80| 20 6c 69 6e 65 20 64 65 | 61 6c 65 72 31 20 6f 66 | line de|aler1 of|
|00002a90| 20 50 6c 61 79 65 72 50 | 72 6f 66 20 69 73 20 22 | PlayerP|rof is "|
|00002aa0| 62 61 6e 6b 72 75 70 74 | 22 29 20 c2 0d 6f 72 20 |bankrupt|") ..or |
|00002ab0| 28 69 74 65 6d 20 73 74 | 61 74 75 73 20 6f 66 20 |(item st|atus of |
|00002ac0| 6c 69 6e 65 20 64 65 61 | 6c 65 72 32 20 6f 66 20 |line dea|ler2 of |
|00002ad0| 50 6c 61 79 65 72 50 72 | 6f 66 20 69 73 20 22 62 |PlayerPr|of is "b|
|00002ae0| 61 6e 6b 72 75 70 74 22 | 29 20 74 68 65 6e 0d 66 |ankrupt"|) then.f|
|00002af0| 6c 61 73 68 69 74 20 22 | 42 61 6e 6b 72 75 70 74 |lashit "|Bankrupt|
|00002b00| 20 70 6c 61 79 65 72 73 | 20 63 61 6e 27 74 20 64 | players| can't d|
|00002b10| 65 61 6c 2e 22 2c 33 0d | 65 78 69 74 20 74 72 61 |eal.",3.|exit tra|
|00002b20| 64 65 0d 65 6e 64 20 69 | 66 0d 6c 6f 63 6b 20 73 |de.end i|f.lock s|
|00002b30| 63 72 65 65 6e 0d 70 75 | 74 20 22 22 20 69 6e 74 |creen.pu|t "" int|
|00002b40| 6f 20 63 64 20 66 6c 64 | 20 22 73 74 61 74 75 73 |o cd fld| "status|
|00002b50| 6c 69 6e 65 22 0d 67 6f | 20 63 64 20 22 44 65 61 |line".go| cd "Dea|
|00002b60| 6c 22 0d 65 6e 64 20 74 | 72 61 64 65 0d 0d 6f 6e |l".end t|rade..on|
|00002b70| 20 6c 6f 61 64 0d 61 6e | 73 77 65 72 20 66 69 6c | load.an|swer fil|
|00002b80| 65 20 67 65 74 73 74 72 | 28 34 39 29 20 6f 66 20 |e getstr|(49) of |
|00002b90| 74 79 70 65 20 22 54 45 | 58 54 22 0d 70 75 74 20 |type "TE|XT".put |
|00002ba0| 74 68 65 20 72 65 73 75 | 6c 74 20 69 6e 74 6f 20 |the resu|lt into |
|00002bb0| 72 0d 69 66 20 72 20 69 | 73 20 65 6d 70 74 79 20 |r.if r i|s empty |
|00002bc0| 74 68 65 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |then.put| it into|
|00002bd0| 20 66 69 6c 65 6e 61 6d | 65 0d 6f 70 65 6e 20 66 | filenam|e.open f|
|00002be0| 69 6c 65 20 69 74 0d 67 | 6c 6f 62 61 6c 20 4d 6f |ile it.g|lobal Mo|
|00002bf0| 6e 6f 70 73 2c 50 6c 61 | 79 65 72 50 72 6f 66 2c |nops,Pla|yerProf,|
|00002c00| 56 6f 6c 61 74 69 6c 65 | 44 61 74 61 2c 4e 75 6d |Volatile|Data,Num|
|00002c10| 50 6c 61 79 65 72 73 2c | 50 6c 61 79 65 72 2c 43 |Players,|Player,C|
|00002c20| 68 61 6e 63 65 2c 4d 6f | 72 74 67 61 67 65 46 6c |hance,Mo|rtgageFl|
|00002c30| 61 67 2c 4d 6f 6e 6f 70 | 2c 44 61 74 61 0d 72 65 |ag,Monop|,Data.re|
|00002c40| 61 64 20 66 72 6f 6d 20 | 66 69 6c 65 20 66 69 6c |ad from |file fil|
|00002c50| 65 6e 61 6d 65 20 75 6e | 74 69 6c 20 45 4f 46 0d |ename un|til EOF.|
|00002c60| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 73 61 76 65 |put it i|nto save|
|00002c70| 64 47 61 6d 65 0d 63 6c | 6f 73 65 20 66 69 6c 65 |dGame.cl|ose file|
|00002c80| 20 66 69 6c 65 4e 61 6d | 65 0d 70 75 74 20 77 6f | fileNam|e.put wo|
|00002c90| 72 64 20 31 20 6f 66 20 | 6c 69 6e 65 20 31 20 6f |rd 1 of |line 1 o|
|00002ca0| 66 20 73 61 76 65 64 47 | 61 6d 65 20 69 6e 74 6f |f savedG|ame into|
|00002cb0| 20 73 0d 67 6c 6f 62 61 | 6c 20 53 69 67 6e 61 74 | s.globa|l Signat|
|00002cc0| 75 72 65 0d 69 66 20 73 | 20 3c 3e 20 53 69 67 6e |ure.if s| <> Sign|
|00002cd0| 61 74 75 72 65 20 74 68 | 65 6e 0d 61 6e 73 77 65 |ature th|en.answe|
|00002ce0| 72 20 22 54 68 69 73 20 | 67 61 6d 65 27 73 20 73 |r "This |game's s|
|00002cf0| 69 67 6e 61 74 75 72 65 | 20 64 6f 65 73 20 6e 6f |ignature| does no|
|00002d00| 74 20 6d 61 74 63 68 20 | 74 68 61 74 20 6f 66 20 |t match |that of |
|00002d10| 74 68 69 73 20 62 6f 61 | 72 64 2e 22 0d 65 78 69 |this boa|rd.".exi|
|00002d20| 74 20 6c 6f 61 64 0d 65 | 6e 64 20 69 66 0d 63 6c |t load.e|nd if.cl|
|00002d30| 65 61 6e 62 6f 61 72 64 | 0d 70 75 74 20 77 6f 72 |eanboard|.put wor|
|00002d40| 64 20 32 20 6f 66 20 6c | 69 6e 65 20 31 20 6f 66 |d 2 of l|ine 1 of|
|00002d50| 20 73 61 76 65 64 47 61 | 6d 65 20 69 6e 74 6f 20 | savedGa|me into |
|00002d60| 6e 75 6d 4d 6f 6e 6f 70 | 73 0d 72 65 70 65 61 74 |numMonop|s.repeat|
|00002d70| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 6e | with i |= 1 to n|
|00002d80| 75 6d 4d 6f 6e 6f 70 73 | 0d 70 75 74 20 77 6f 72 |umMonops|.put wor|
|00002d90| 64 20 28 69 2b 32 29 20 | 6f 66 20 6c 69 6e 65 20 |d (i+2) |of line |
|00002da0| 31 20 6f 66 20 73 61 76 | 65 64 47 61 6d 65 20 69 |1 of sav|edGame i|
|00002db0| 6e 74 6f 20 69 74 65 6d | 20 33 20 6f 66 20 6c 69 |nto item| 3 of li|
|00002dc0| 6e 65 20 69 20 6f 66 20 | 4d 6f 6e 6f 70 73 0d 65 |ne i of |Monops.e|
|00002dd0| 6e 64 20 72 65 70 65 61 | 74 0d 72 65 70 65 61 74 |nd repea|t.repeat|
|00002de0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 34 | with i |= 1 to 4|
|00002df0| 30 20 20 2d 2d 61 6c 73 | 6f 20 73 65 74 20 75 70 |0 --als|o set up|
|00002e00| 20 4e 61 6d 65 73 20 26 | 20 4d 6f 72 74 67 61 67 | Names &| Mortgag|
|00002e10| 65 20 73 74 61 74 75 73 | 65 73 20 69 6e 20 44 65 |e status|es in De|
|00002e20| 65 64 73 0d 73 65 74 20 | 74 68 65 20 63 75 72 73 |eds.set |the curs|
|00002e30| 6f 72 20 74 6f 20 62 75 | 73 79 0d 69 66 20 53 51 |or to bu|sy.if SQ|
|00002e40| 74 79 70 65 28 69 29 20 | 63 6f 6e 74 61 69 6e 73 |type(i) |contains|
|00002e50| 20 22 43 6f 6c 6f 72 22 | 20 6f 72 20 28 53 51 54 | "Color"| or (SQT|
|00002e60| 79 70 65 28 69 29 20 63 | 6f 6e 74 61 69 6e 73 20 |ype(i) c|ontains |
|00002e70| 22 46 61 72 6d 22 29 20 | 74 68 65 6e 20 70 75 74 |"Farm") |then put|
|00002e80| 20 31 34 20 69 6e 74 6f | 20 73 6c 20 65 6c 73 65 | 14 into| sl else|
|00002e90| 20 70 75 74 20 39 20 69 | 6e 74 6f 20 73 6c 0d 70 | put 9 i|nto sl.p|
|00002ea0| 75 74 20 6c 69 6e 65 20 | 69 2b 31 20 6f 66 20 73 |ut line |i+1 of s|
|00002eb0| 61 76 65 64 47 61 6d 65 | 20 69 6e 74 6f 20 6c 69 |avedGame| into li|
|00002ec0| 6e 65 20 69 20 6f 66 20 | 56 6f 6c 61 74 69 6c 65 |ne i of |Volatile|
|00002ed0| 44 61 74 61 0d 69 66 20 | 69 74 65 6d 20 4d 6f 72 |Data.if |item Mor|
|00002ee0| 74 67 61 67 65 66 6c 61 | 67 20 6f 66 20 6c 69 6e |tgagefla|g of lin|
|00002ef0| 65 20 69 20 6f 66 20 56 | 6f 6c 61 74 69 6c 65 44 |e i of V|olatileD|
|00002f00| 61 74 61 20 69 73 20 22 | 4d 6f 72 74 67 61 67 65 |ata is "|Mortgage|
|00002f10| 64 22 20 74 68 65 6e 0d | 70 75 74 20 22 20 4d 22 |d" then.|put " M"|
|00002f20| 20 61 66 74 65 72 20 6c | 69 6e 65 20 73 6c 20 6f | after l|ine sl o|
|00002f30| 66 20 63 64 20 66 6c 64 | 20 28 22 54 69 74 6c 65 |f cd fld| ("Title|
|00002f40| 22 26 69 29 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |"&i).end| if.end |
|00002f50| 72 65 70 65 61 74 0d 70 | 75 74 20 6c 69 6e 65 20 |repeat.p|ut line |
|00002f60| 34 32 20 6f 66 20 73 61 | 76 65 64 47 61 6d 65 20 |42 of sa|vedGame |
|00002f70| 69 6e 74 6f 20 4e 75 6d | 50 6c 61 79 65 72 73 0d |into Num|Players.|
|00002f80| 70 75 74 20 6c 69 6e 65 | 20 34 33 20 6f 66 20 73 |put line| 43 of s|
|00002f90| 61 76 65 64 47 61 6d 65 | 20 69 6e 74 6f 20 50 6c |avedGame| into Pl|
|00002fa0| 61 79 65 72 0d 70 75 74 | 20 4e 75 6d 50 6c 61 79 |ayer.put| NumPlay|
|00002fb0| 65 72 73 20 69 6e 74 6f | 20 6e 0d 72 65 70 65 61 |ers into| n.repea|
|00002fc0| 74 20 77 69 74 68 20 6a | 20 3d 20 31 20 74 6f 20 |t with j| = 1 to |
|00002fd0| 6e 0d 73 65 74 20 74 68 | 65 20 63 75 72 73 6f 72 |n.set th|e cursor|
|00002fe0| 20 74 6f 20 62 75 73 79 | 0d 70 75 74 20 6c 69 6e | to busy|.put lin|
|00002ff0| 65 20 28 34 33 2b 6a 29 | 20 6f 66 20 73 61 76 65 |e (43+j)| of save|
|00003000| 64 47 61 6d 65 20 69 6e | 74 6f 20 6c 69 6e 65 20 |dGame in|to line |
|00003010| 6a 20 6f 66 20 50 6c 61 | 79 65 72 50 72 6f 66 0d |j of Pla|yerProf.|
|00003020| 70 75 74 20 69 74 65 6d | 20 32 20 6f 66 20 6c 69 |put item| 2 of li|
|00003030| 6e 65 20 6a 20 6f 66 20 | 50 6c 61 79 65 72 50 72 |ne j of |PlayerPr|
|00003040| 6f 66 20 69 6e 74 6f 20 | 70 72 6f 70 6c 69 73 74 |of into |proplist|
|00003050| 0d 70 75 74 20 28 69 74 | 65 6d 20 31 20 6f 66 20 |.put (it|em 1 of |
|00003060| 6c 69 6e 65 20 6a 20 6f | 66 20 50 6c 61 79 65 72 |line j o|f Player|
|00003070| 50 72 6f 66 29 20 69 6e | 74 6f 20 74 68 65 4e 61 |Prof) in|to theNa|
|00003080| 6d 65 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6b |me.repea|t with k|
|00003090| 20 3d 20 31 20 74 6f 20 | 28 74 68 65 20 6e 75 6d | = 1 to |(the num|
|000030a0| 62 65 72 20 6f 66 20 77 | 6f 72 64 73 20 6f 66 20 |ber of w|ords of |
|000030b0| 70 72 6f 70 6c 69 73 74 | 29 0d 70 75 74 20 22 54 |proplist|).put "T|
|000030c0| 69 74 6c 65 22 26 28 77 | 6f 72 64 20 6b 20 6f 66 |itle"&(w|ord k of|
|000030d0| 20 70 72 6f 70 6c 69 73 | 74 29 20 69 6e 74 6f 20 | proplis|t) into |
|000030e0| 74 68 65 44 65 65 64 0d | 70 75 74 20 53 51 74 79 |theDeed.|put SQty|
|000030f0| 70 65 28 77 6f 72 64 20 | 6b 20 6f 66 20 70 72 6f |pe(word |k of pro|
|00003100| 70 6c 69 73 74 29 20 69 | 6e 74 6f 20 74 68 65 54 |plist) i|nto theT|
|00003110| 79 70 65 0d 69 66 20 28 | 74 68 65 54 79 70 65 20 |ype.if (|theType |
|00003120| 63 6f 6e 74 61 69 6e 73 | 20 22 43 6f 6c 6f 72 22 |contains| "Color"|
|00003130| 29 20 6f 72 20 28 74 68 | 65 54 79 70 65 20 63 6f |) or (th|eType co|
|00003140| 6e 74 61 69 6e 73 20 22 | 46 61 72 6d 22 29 20 74 |ntains "|Farm") t|
|00003150| 68 65 6e 0d 70 75 74 20 | 31 33 20 69 6e 74 6f 20 |hen.put |13 into |
|00003160| 73 6c 0d 65 6c 73 65 0d | 70 75 74 20 38 20 69 6e |sl.else.|put 8 in|
|00003170| 74 6f 20 73 6c 0d 65 6e | 64 20 69 66 0d 70 75 74 |to sl.en|d if.put|
|00003180| 20 22 20 22 20 26 20 74 | 68 65 4e 61 6d 65 20 61 | " " & t|heName a|
|00003190| 66 74 65 72 20 6c 69 6e | 65 20 73 6c 20 6f 66 20 |fter lin|e sl of |
|000031a0| 63 64 20 66 6c 64 20 74 | 68 65 44 65 65 64 0d 69 |cd fld t|heDeed.i|
|000031b0| 66 20 6d 6f 6e 6f 70 63 | 68 65 63 6b 28 69 74 65 |f monopc|heck(ite|
|000031c0| 6d 20 4d 6f 6e 6f 70 20 | 6f 66 20 6c 69 6e 65 20 |m Monop |of line |
|000031d0| 28 77 6f 72 64 20 6b 20 | 6f 66 20 70 72 6f 70 6c |(word k |of propl|
|000031e0| 69 73 74 29 20 6f 66 20 | 44 61 74 61 2c 6a 29 20 |ist) of |Data,j) |
|000031f0| 74 68 65 6e 0d 70 75 74 | 20 22 20 47 72 6f 75 70 |then.put| " Group|
|00003200| 22 20 61 66 74 65 72 20 | 6c 69 6e 65 20 28 73 6c |" after |line (sl|
|00003210| 2b 31 29 20 6f 66 20 63 | 64 20 66 6c 64 20 74 68 |+1) of c|d fld th|
|00003220| 65 44 65 65 64 0d 65 6e | 64 20 69 66 0d 65 6e 64 |eDeed.en|d if.end|
|00003230| 20 72 65 70 65 61 74 0d | 65 6e 64 20 72 65 70 65 | repeat.|end repe|
|00003240| 61 74 0d 67 6c 6f 62 61 | 6c 20 63 68 61 6e 63 65 |at.globa|l chance|
|00003250| 50 74 72 2c 63 68 61 6e | 63 65 4a 61 69 6c 2c 43 |Ptr,chan|ceJail,C|
|00003260| 68 61 6e 63 65 2c 63 68 | 61 6e 63 65 53 69 7a 65 |hance,ch|anceSize|
|00003270| 2c 63 68 61 6e 63 65 44 | 65 78 65 73 2c 6e 64 65 |,chanceD|exes,nde|
|00003280| 63 6b 73 0d 70 75 74 20 | 6c 69 6e 65 20 28 34 34 |cks.put |line (44|
|00003290| 2b 6e 29 20 6f 66 20 73 | 61 76 65 64 47 61 6d 65 |+n) of s|avedGame|
|000032a0| 20 69 6e 74 6f 20 63 68 | 61 6e 63 65 50 74 72 0d | into ch|ancePtr.|
|000032b0| 70 75 74 20 6c 69 6e 65 | 20 28 34 35 2b 6e 29 20 |put line| (45+n) |
|000032c0| 6f 66 20 73 61 76 65 64 | 47 61 6d 65 20 69 6e 74 |of saved|Game int|
|000032d0| 6f 20 63 68 61 6e 63 65 | 4a 61 69 6c 0d 70 75 74 |o chance|Jail.put|
|000032e0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 77 | the num|ber of w|
|000032f0| 6f 72 64 73 20 6f 66 20 | 63 68 61 6e 63 65 50 74 |ords of |chancePt|
|00003300| 72 20 69 6e 74 6f 20 6e | 64 65 63 6b 73 0d 72 65 |r into n|decks.re|
|00003310| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003320| 74 6f 20 6e 64 65 63 6b | 73 0d 73 65 74 20 74 68 |to ndeck|s.set th|
|00003330| 65 20 63 75 72 73 6f 72 | 20 74 6f 20 62 75 73 79 |e cursor| to busy|
|00003340| 0d 70 75 74 20 6c 69 6e | 65 20 28 34 35 2b 6e 2b |.put lin|e (45+n+|
|00003350| 69 29 20 6f 66 20 73 61 | 76 65 64 47 61 6d 65 20 |i) of sa|vedGame |
|00003360| 69 6e 74 6f 20 6c 69 6e | 65 20 69 20 6f 66 20 43 |into lin|e i of C|
|00003370| 68 61 6e 63 65 44 65 78 | 65 73 0d 65 6e 64 20 72 |hanceDex|es.end r|
|00003380| 65 70 65 61 74 0d 65 6e | 64 20 69 66 0d 67 6f 20 |epeat.en|d if.go |
|00003390| 63 64 20 22 4d 61 69 6e | 22 0d 73 65 74 4f 6c 64 |cd "Main|".setOld|
|000033a0| 47 61 6d 65 20 20 2d 2d | 20 73 65 74 20 74 68 65 |Game --| set the|
|000033b0| 20 62 6f 61 72 64 20 75 | 70 0d 65 6e 64 20 6c 6f | board u|p.end lo|
|000033c0| 61 64 0d 0d 0d 0d 6f 6e | 20 73 61 76 65 0d 67 6c |ad....on| save.gl|
|000033d0| 6f 62 61 6c 20 4d 6f 6e | 6f 70 73 2c 50 6c 61 79 |obal Mon|ops,Play|
|000033e0| 65 72 50 72 6f 66 2c 56 | 6f 6c 61 74 69 6c 65 44 |erProf,V|olatileD|
|000033f0| 61 74 61 2c 4e 75 6d 50 | 6c 61 79 65 72 73 2c 50 |ata,NumP|layers,P|
|00003400| 6c 61 79 65 72 2c 53 69 | 67 6e 61 74 75 72 65 0d |layer,Si|gnature.|
|00003410| 70 75 74 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |put the |number o|
|00003420| 66 20 6c 69 6e 65 73 20 | 6f 66 20 4d 6f 6e 6f 70 |f lines |of Monop|
|00003430| 73 20 69 6e 74 6f 20 4e | 75 6d 4d 6f 6e 6f 70 73 |s into N|umMonops|
|00003440| 0d 70 75 74 20 53 69 67 | 6e 61 74 75 72 65 20 26 |.put Sig|nature &|
|00003450| 20 22 20 22 20 26 20 4e | 75 6d 4d 6f 6e 6f 70 73 | " " & N|umMonops|
|00003460| 20 26 20 22 20 22 20 61 | 66 74 65 72 20 74 65 6d | & " " a|fter tem|
|00003470| 70 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 69 20 |p.repeat| with i |
|00003480| 3d 20 31 20 74 6f 20 4e | 75 6d 4d 6f 6e 6f 70 73 |= 1 to N|umMonops|
|00003490| 20 20 2d 2d 77 72 69 74 | 65 20 6d 6f 6e 6f 70 20 | --writ|e monop |
|000034a0| 6f 77 6e 65 72 0d 70 75 | 74 20 28 69 74 65 6d 20 |owner.pu|t (item |
|000034b0| 33 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 4d |3 of lin|e i of M|
|000034c0| 6f 6e 6f 70 73 29 20 26 | 20 22 20 22 20 61 66 74 |onops) &| " " aft|
|000034d0| 65 72 20 74 65 6d 70 0d | 65 6e 64 20 72 65 70 65 |er temp.|end repe|
|000034e0| 61 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |at.repea|t with i|
|000034f0| 20 3d 20 31 20 74 6f 20 | 34 30 0d 70 75 74 20 28 | = 1 to |40.put (|
|00003500| 6c 69 6e 65 20 69 20 6f | 66 20 56 6f 6c 61 74 69 |line i o|f Volati|
|00003510| 6c 65 44 61 74 61 29 20 | 69 6e 74 6f 20 6c 69 6e |leData) |into lin|
|00003520| 65 20 28 69 2b 31 29 20 | 6f 66 20 74 65 6d 70 0d |e (i+1) |of temp.|
|00003530| 65 6e 64 20 72 65 70 65 | 61 74 0d 70 75 74 20 4e |end repe|at.put N|
|00003540| 75 6d 50 6c 61 79 65 72 | 73 20 69 6e 74 6f 20 6c |umPlayer|s into l|
|00003550| 69 6e 65 20 34 32 20 6f | 66 20 74 65 6d 70 0d 70 |ine 42 o|f temp.p|
|00003560| 75 74 20 50 6c 61 79 65 | 72 20 69 6e 74 6f 20 6c |ut Playe|r into l|
|00003570| 69 6e 65 20 34 33 20 6f | 66 20 74 65 6d 70 0d 72 |ine 43 o|f temp.r|
|00003580| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00003590| 20 74 6f 20 4e 75 6d 50 | 6c 61 79 65 72 73 0d 70 | to NumP|layers.p|
|000035a0| 75 74 20 28 6c 69 6e 65 | 20 69 20 6f 66 20 50 6c |ut (line| i of Pl|
|000035b0| 61 79 65 72 50 72 6f 66 | 29 20 69 6e 74 6f 20 6c |ayerProf|) into l|
|000035c0| 69 6e 65 20 34 33 2b 69 | 20 6f 66 20 74 65 6d 70 |ine 43+i| of temp|
|000035d0| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 67 6c 6f 62 |.end rep|eat.glob|
|000035e0| 61 6c 20 63 68 61 6e 63 | 65 50 74 72 2c 63 68 61 |al chanc|ePtr,cha|
|000035f0| 6e 63 65 4a 61 69 6c 2c | 43 68 61 6e 63 65 2c 63 |nceJail,|Chance,c|
|00003600| 68 61 6e 63 65 53 69 7a | 65 2c 43 68 61 6e 63 65 |hanceSiz|e,Chance|
|00003610| 44 65 78 65 73 2c 6e 64 | 65 63 6b 73 0d 70 75 74 |Dexes,nd|ecks.put|
|00003620| 20 63 68 61 6e 63 65 50 | 74 72 20 69 6e 74 6f 20 | chanceP|tr into |
|00003630| 6c 69 6e 65 20 28 34 34 | 2b 4e 75 6d 50 6c 61 79 |line (44|+NumPlay|
|00003640| 65 72 73 29 20 6f 66 20 | 74 65 6d 70 0d 70 75 74 |ers) of |temp.put|
|00003650| 20 63 68 61 6e 63 65 4a | 61 69 6c 20 69 6e 74 6f | chanceJ|ail into|
|00003660| 20 6c 69 6e 65 20 28 34 | 35 2b 4e 75 6d 50 6c 61 | line (4|5+NumPla|
|00003670| 79 65 72 73 29 20 6f 66 | 20 74 65 6d 70 0d 72 65 |yers) of| temp.re|
|00003680| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 31 20 |peat wit|h i = 1 |
|00003690| 74 6f 20 6e 64 65 63 6b | 73 0d 70 75 74 20 6c 69 |to ndeck|s.put li|
|000036a0| 6e 65 20 69 20 6f 66 20 | 63 68 61 6e 63 65 44 65 |ne i of |chanceDe|
|000036b0| 78 65 73 20 69 6e 74 6f | 20 6c 69 6e 65 20 28 34 |xes into| line (4|
|000036c0| 35 2b 4e 75 6d 50 6c 61 | 79 65 72 73 2b 69 29 20 |5+NumPla|yers+i) |
|000036d0| 6f 66 20 74 65 6d 70 0d | 65 6e 64 20 72 65 70 65 |of temp.|end repe|
|000036e0| 61 74 0d 61 73 6b 20 66 | 69 6c 65 20 67 65 74 73 |at.ask f|ile gets|
|000036f0| 74 72 28 35 30 29 0d 70 | 75 74 20 74 68 65 20 72 |tr(50).p|ut the r|
|00003700| 65 73 75 6c 74 20 69 6e | 74 6f 20 72 0d 69 66 20 |esult in|to r.if |
|00003710| 72 20 69 73 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |r is emp|ty then.|
|00003720| 70 75 74 20 69 74 20 69 | 6e 74 6f 20 66 69 6c 65 |put it i|nto file|
|00003730| 6e 61 6d 65 0d 6f 70 65 | 6e 20 66 69 6c 65 20 66 |name.ope|n file f|
|00003740| 69 6c 65 6e 61 6d 65 0d | 77 72 69 74 65 20 74 65 |ilename.|write te|
|00003750| 6d 70 20 74 6f 20 66 69 | 6c 65 20 66 69 6c 65 6e |mp to fi|le filen|
|00003760| 61 6d 65 0d 63 6c 6f 73 | 65 20 66 69 6c 65 20 66 |ame.clos|e file f|
|00003770| 69 6c 65 6e 61 6d 65 0d | 65 6e 64 20 69 66 0d 65 |ilename.|end if.e|
|00003780| 6e 64 20 73 61 76 65 0d | 0d 2d 2d 20 6f 6e 20 46 |nd save.|.-- on F|
|00003790| 69 6c 65 49 63 6f 6e 20 | 20 66 69 6c 65 6e 61 6d |ileIcon | filenam|
|000037a0| 65 0d 2d 2d 20 70 75 74 | 20 74 68 65 20 6c 6f 6e |e.-- put| the lon|
|000037b0| 67 20 6e 61 6d 65 20 6f | 66 20 6d 65 20 69 6e 74 |g name o|f me int|
|000037c0| 6f 20 6d 79 6e 61 6d 65 | 0d 2d 2d 20 64 65 6c 65 |o myname|.-- dele|
|000037d0| 74 65 20 77 6f 72 64 20 | 31 20 6f 66 20 6d 79 6e |te word |1 of myn|
|000037e0| 61 6d 65 0d 2d 2d 20 64 | 65 6c 65 74 65 20 66 69 |ame.-- d|elete fi|
|000037f0| 72 73 74 20 63 68 61 72 | 20 6f 66 20 6d 79 6e 61 |rst char| of myna|
|00003800| 6d 65 0d 2d 2d 20 64 65 | 6c 65 74 65 20 6c 61 73 |me.-- de|lete las|
|00003810| 74 20 63 68 61 72 20 6f | 66 20 6d 79 6e 61 6d 65 |t char o|f myname|
|00003820| 0d 2d 2d 20 70 75 74 20 | 22 49 43 4e 23 2c 69 63 |.-- put |"ICN#,ic|
|00003830| 6c 38 2c 69 63 73 38 2c | 69 63 6c 34 2c 69 63 73 |l8,ics8,|icl4,ics|
|00003840| 34 2c 69 63 73 23 22 20 | 69 6e 74 6f 20 72 65 73 |4,ics#" |into res|
|00003850| 74 79 70 65 73 0d 2d 2d | 20 72 65 70 65 61 74 20 |types.--| repeat |
|00003860| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 36 0d |with i =| 1 to 6.|
|00003870| 2d 2d 20 70 75 74 20 69 | 74 65 6d 20 69 20 6f 66 |-- put i|tem i of|
|00003880| 20 72 65 73 74 79 70 65 | 73 20 69 6e 74 6f 20 74 | restype|s into t|
|00003890| 79 70 65 0d 2d 2d 20 43 | 6f 70 79 52 65 73 20 6d |ype.-- C|opyRes m|
|000038a0| 79 6e 61 6d 65 2c 66 69 | 6c 65 6e 61 6d 65 2c 74 |yname,fi|lename,t|
|000038b0| 79 70 65 2c 31 32 38 0d | 2d 2d 20 70 75 74 20 74 |ype,128.|-- put t|
|000038c0| 68 65 20 72 65 73 75 6c | 74 0d 2d 2d 20 45 64 69 |he resul|t.-- Edi|
|000038d0| 74 52 65 73 6f 75 72 63 | 65 20 66 69 6c 65 6e 61 |tResourc|e filena|
|000038e0| 6d 65 2c 74 79 70 65 2c | 31 32 38 2c 2c 2d 31 36 |me,type,|128,,-16|
|000038f0| 34 35 35 0d 2d 2d 20 65 | 6e 64 20 72 65 70 65 61 |455.-- e|nd repea|
|00003900| 74 0d 2d 2d 20 73 65 74 | 43 75 73 74 6f 6d 46 69 |t.-- set|CustomFi|
|00003910| 6c 65 49 63 6f 6e 20 66 | 69 6c 65 6e 61 6d 65 0d |leIcon f|ilename.|
|00003920| 2d 2d 20 65 6e 64 20 46 | 69 6c 65 49 63 6f 6e 0d |-- end F|ileIcon.|
|00003930| 0d 0d 6f 6e 20 76 69 73 | 4f 77 6e 20 70 72 6f 70 |..on vis|Own prop|
|00003940| 6e 75 6d 2c 6f 77 6e 65 | 72 0d 70 75 74 20 22 6c |num,owne|r.put "l|
|00003950| 22 20 26 20 70 72 6f 70 | 6e 75 6d 20 69 6e 74 6f |" & prop|num into|
|00003960| 20 73 71 72 0d 70 75 74 | 20 22 74 69 6e 79 22 20 | sqr.put| "tiny" |
|00003970| 26 20 6f 77 6e 65 72 20 | 69 6e 74 6f 20 69 63 0d |& owner |into ic.|
|00003980| 69 66 20 6f 77 6e 65 72 | 20 3c 3e 20 30 20 74 68 |if owner| <> 0 th|
|00003990| 65 6e 0d 73 65 74 20 74 | 68 65 20 69 63 6f 6e 20 |en.set t|he icon |
|000039a0| 6f 66 20 63 64 20 62 74 | 6e 20 73 71 72 20 6f 66 |of cd bt|n sqr of|
|000039b0| 20 63 64 20 22 4d 61 69 | 6e 22 20 74 6f 20 69 63 | cd "Mai|n" to ic|
|000039c0| 0d 65 6c 73 65 0d 73 65 | 74 20 74 68 65 20 69 63 |.else.se|t the ic|
|000039d0| 6f 6e 20 6f 66 20 63 64 | 20 62 74 6e 20 73 71 72 |on of cd| btn sqr|
|000039e0| 20 74 6f 20 30 0d 65 6e | 64 20 69 66 0d 65 6e 64 | to 0.en|d if.end|
|000039f0| 20 76 69 73 4f 77 6e 0d | 0d 66 75 6e 63 74 69 6f | visOwn.|.functio|
|00003a00| 6e 20 4d 6f 6e 6f 70 63 | 68 65 63 6b 20 6d 6e 6f |n Monopc|heck mno|
|00003a10| 2c 70 6e 75 6d 0d 67 6c | 6f 62 61 6c 20 50 6c 61 |,pnum.gl|obal Pla|
|00003a20| 79 65 72 50 72 6f 66 2c | 6d 62 61 73 65 2c 4d 6f |yerProf,|mbase,Mo|
|00003a30| 6e 6f 70 73 0d 69 66 20 | 69 74 65 6d 20 33 20 6f |nops.if |item 3 o|
|00003a40| 66 20 6c 69 6e 65 20 6d | 6e 6f 20 6f 66 20 4d 6f |f line m|no of Mo|
|00003a50| 6e 6f 70 73 20 3d 20 70 | 6e 75 6d 20 74 68 65 6e |nops = p|num then|
|00003a60| 0d 72 65 74 75 72 6e 20 | 74 72 75 65 0d 65 6e 64 |.return |true.end|
|00003a70| 20 69 66 0d 70 75 74 20 | 69 74 65 6d 20 32 20 6f | if.put |item 2 o|
|00003a80| 66 20 6c 69 6e 65 20 6d | 6e 6f 20 6f 66 20 4d 6f |f line m|no of Mo|
|00003a90| 6e 6f 70 73 20 69 6e 74 | 6f 20 6d 70 72 6f 70 73 |nops int|o mprops|
|00003aa0| 0d 70 75 74 20 69 74 65 | 6d 20 32 20 6f 66 20 6c |.put ite|m 2 of l|
|00003ab0| 69 6e 65 20 70 6e 75 6d | 20 6f 66 20 50 6c 61 79 |ine pnum| of Play|
|00003ac0| 65 72 50 72 6f 66 20 69 | 6e 74 6f 20 70 72 6f 70 |erProf i|nto prop|
|00003ad0| 73 0d 70 75 74 20 30 20 | 69 6e 74 6f 20 66 6f 75 |s.put 0 |into fou|
|00003ae0| 6e 64 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |nd.repea|t with i|
|00003af0| 20 3d 20 31 20 74 6f 20 | 28 74 68 65 20 6e 75 6d | = 1 to |(the num|
|00003b00| 62 65 72 20 6f 66 20 77 | 6f 72 64 73 20 6f 66 20 |ber of w|ords of |
|00003b10| 70 72 6f 70 73 29 0d 72 | 65 70 65 61 74 20 77 69 |props).r|epeat wi|
|00003b20| 74 68 20 6a 20 3d 20 31 | 20 74 6f 20 28 74 68 65 |th j = 1| to (the|
|00003b30| 20 6e 75 6d 62 65 72 20 | 6f 66 20 77 6f 72 64 73 | number |of words|
|00003b40| 20 6f 66 20 6d 70 72 6f | 70 73 29 0d 69 66 20 77 | of mpro|ps).if w|
|00003b50| 6f 72 64 20 6a 20 6f 66 | 20 6d 70 72 6f 70 73 20 |ord j of| mprops |
|00003b60| 3d 20 77 6f 72 64 20 69 | 20 6f 66 20 70 72 6f 70 |= word i| of prop|
|00003b70| 73 20 74 68 65 6e 20 61 | 64 64 20 31 20 74 6f 20 |s then a|dd 1 to |
|00003b80| 66 6f 75 6e 64 0d 65 6e | 64 20 72 65 70 65 61 74 |found.en|d repeat|
|00003b90| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 69 66 20 66 |.end rep|eat.if f|
|00003ba0| 6f 75 6e 64 20 3d 20 28 | 74 68 65 20 6e 75 6d 62 |ound = (|the numb|
|00003bb0| 65 72 20 6f 66 20 77 6f | 72 64 73 20 6f 66 20 6d |er of wo|rds of m|
|00003bc0| 70 72 6f 70 73 29 20 74 | 68 65 6e 0d 70 75 74 20 |props) t|hen.put |
|00003bd0| 20 70 6e 75 6d 20 69 6e | 74 6f 20 69 74 65 6d 20 | pnum in|to item |
|00003be0| 33 20 6f 66 20 6c 69 6e | 65 20 6d 6e 6f 20 6f 66 |3 of lin|e mno of|
|00003bf0| 20 4d 6f 6e 6f 70 73 0d | 72 65 74 75 72 6e 20 74 | Monops.|return t|
|00003c00| 72 75 65 0d 65 6c 73 65 | 0d 72 65 74 75 72 6e 20 |rue.else|.return |
|00003c10| 66 61 6c 73 65 0d 65 6e | 64 20 69 66 0d 65 6e 64 |false.en|d if.end|
|00003c20| 20 6d 6f 6e 6f 70 63 68 | 65 63 6b 0d 0d 6f 6e 20 | monopch|eck..on |
|00003c30| 70 73 74 61 74 75 73 0d | 67 6c 6f 62 61 6c 20 50 |pstatus.|global P|
|00003c40| 6c 61 79 65 72 4e 75 6d | 62 65 72 2c 73 74 61 74 |layerNum|ber,stat|
|00003c50| 75 73 66 72 6f 6d 2c 47 | 61 6d 65 0d 69 66 20 47 |usfrom,G|ame.if G|
|00003c60| 61 6d 65 20 69 73 20 66 | 61 6c 73 65 20 74 68 65 |ame is f|alse the|
|00003c70| 6e 0d 66 6c 61 73 68 69 | 74 20 67 65 74 73 74 72 |n.flashi|t getstr|
|00003c80| 28 36 37 29 2c 34 0d 65 | 78 69 74 20 70 73 74 61 |(67),4.e|xit psta|
|00003c90| 74 75 73 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 67 |tus.end |if.put g|
|00003ca0| 65 74 50 6c 61 79 65 72 | 4e 75 6d 28 67 65 74 73 |etPlayer|Num(gets|
|00003cb0| 74 72 28 33 29 29 20 69 | 6e 74 6f 20 50 6c 61 79 |tr(3)) i|nto Play|
|00003cc0| 65 72 4e 75 6d 62 65 72 | 0d 70 75 74 20 74 68 65 |erNumber|.put the|
|00003cd0| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00003ce0| 68 69 73 20 63 64 20 69 | 6e 74 6f 20 73 74 61 74 |his cd i|nto stat|
|00003cf0| 75 73 66 72 6f 6d 0d 6c | 6f 63 6b 20 73 63 72 65 |usfrom.l|ock scre|
|00003d00| 65 6e 0d 67 6f 20 63 64 | 20 22 50 6c 61 79 65 72 |en.go cd| "Player|
|00003d10| 53 74 61 74 75 73 22 0d | 65 6e 64 20 70 73 74 61 |Status".|end psta|
|00003d20| 74 75 73 0d 0d 0d 6f 6e | 20 62 61 6e 6b 72 75 70 |tus...on| bankrup|
|00003d30| 74 0d 67 6c 6f 62 61 6c | 20 50 6c 61 79 65 72 50 |t.global| PlayerP|
|00003d40| 72 6f 66 2c 73 74 61 74 | 75 73 2c 43 72 65 64 69 |rof,stat|us,Credi|
|00003d50| 74 6f 72 2c 41 73 73 65 | 74 73 2c 4e 75 6d 50 6c |tor,Asse|ts,NumPl|
|00003d60| 61 79 65 72 73 2c 4e 61 | 6d 65 2c 6d 6f 6e 65 79 |ayers,Na|me,money|
|00003d70| 4f 77 65 64 2c c2 0d 75 | 6e 69 6d 70 72 6f 76 65 |Owed,..u|nimprove|
|00003d80| 64 2c 62 70 6c 61 79 65 | 72 2c 56 6f 6c 61 74 69 |d,bplaye|r,Volati|
|00003d90| 6c 65 44 61 74 61 2c 68 | 43 6f 75 6e 74 2c 50 6c |leData,h|Count,Pl|
|00003da0| 61 79 65 72 2c 47 61 6d | 65 2c 43 6f 73 74 0d 69 |ayer,Gam|e,Cost.i|
|00003db0| 66 20 47 61 6d 65 20 3c | 3e 20 74 72 75 65 20 74 |f Game <|> true t|
|00003dc0| 68 65 6e 0d 62 65 65 70 | 0d 65 78 69 74 20 62 61 |hen.beep|.exit ba|
|00003dd0| 6e 6b 72 75 70 74 0d 65 | 6e 64 20 69 66 0d 70 75 |nkrupt.e|nd if.pu|
|00003de0| 74 20 67 65 74 50 6c 61 | 79 65 72 4e 75 6d 28 67 |t getPla|yerNum(g|
|00003df0| 65 74 73 74 72 28 34 29 | 29 20 69 6e 74 6f 20 70 |etstr(4)|) into p|
|00003e00| 6e 75 6d 0d 70 75 74 20 | 70 6e 75 6d 20 69 6e 74 |num.put |pnum int|
|00003e10| 6f 20 62 70 6c 61 79 65 | 72 0d 69 66 20 69 74 65 |o bplaye|r.if ite|
|00003e20| 6d 20 73 74 61 74 75 73 | 20 6f 66 20 6c 69 6e 65 |m status| of line|
|00003e30| 20 70 6e 75 6d 20 6f 66 | 20 70 6c 61 79 65 72 50 | pnum of| playerP|
|00003e40| 72 6f 66 20 69 73 20 22 | 62 61 6e 6b 72 75 70 74 |rof is "|bankrupt|
|00003e50| 22 20 74 68 65 6e 0d 66 | 6c 61 73 68 69 74 20 67 |" then.f|lashit g|
|00003e60| 65 74 73 74 72 28 35 29 | 0d 65 78 69 74 20 62 61 |etstr(5)|.exit ba|
|00003e70| 6e 6b 72 75 70 74 0d 65 | 6e 64 20 69 66 0d 70 75 |nkrupt.e|nd if.pu|
|00003e80| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 6c 69 6e 65 |t item 2| of line|
|00003e90| 20 70 6e 75 6d 20 6f 66 | 20 50 6c 61 79 65 72 50 | pnum of| PlayerP|
|00003ea0| 72 6f 66 20 69 6e 74 6f | 20 70 72 6f 70 73 0d 72 |rof into| props.r|
|00003eb0| 65 70 65 61 74 20 77 69 | 74 68 20 69 20 3d 20 31 |epeat wi|th i = 1|
|00003ec0| 20 74 6f 20 28 74 68 65 | 20 6e 75 6d 62 65 72 20 | to (the| number |
|00003ed0| 6f 66 20 77 6f 72 64 73 | 20 6f 66 20 70 72 6f 70 |of words| of prop|
|00003ee0| 73 29 20 2d 2d 63 68 65 | 63 6b 20 66 6f 72 20 62 |s) --che|ck for b|
|00003ef0| 75 69 6c 64 69 6e 67 73 | 2f 63 72 6f 70 73 0d 69 |uildings|/crops.i|
|00003f00| 66 20 69 74 65 6d 20 68 | 43 6f 75 6e 74 20 6f 66 |f item h|Count of|
|00003f10| 20 6c 69 6e 65 20 28 77 | 6f 72 64 20 69 20 6f 66 | line (w|ord i of|
|00003f20| 20 70 72 6f 70 73 29 20 | 6f 66 20 56 6f 6c 61 74 | props) |of Volat|
|00003f30| 69 6c 65 44 61 74 61 20 | 3c 3e 20 30 20 74 68 65 |ileData |<> 0 the|
|00003f40| 6e 0d 66 6c 61 73 68 69 | 74 20 67 65 74 73 74 72 |n.flashi|t getstr|
|00003f50| 28 36 29 2c 34 0d 65 78 | 69 74 20 62 61 6e 6b 72 |(6),4.ex|it bankr|
|00003f60| 75 70 74 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |upt.end |if.end r|
|00003f70| 65 70 65 61 74 0d 68 69 | 64 65 20 63 64 20 62 74 |epeat.hi|de cd bt|
|00003f80| 6e 20 28 22 74 6f 6b 65 | 6e 22 26 70 6e 75 6d 29 |n ("toke|n"&pnum)|
|00003f90| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 0d 70 75 | of cd "|Main".pu|
|00003fa0| 74 20 69 74 65 6d 20 43 | 72 65 64 69 74 6f 72 20 |t item C|reditor |
|00003fb0| 6f 66 20 6c 69 6e 65 20 | 70 6e 75 6d 20 6f 66 20 |of line |pnum of |
|00003fc0| 50 6c 61 79 65 72 50 72 | 6f 66 20 69 6e 74 6f 20 |PlayerPr|of into |
|00003fd0| 63 0d 70 75 74 20 69 74 | 65 6d 20 4d 6f 6e 65 79 |c.put it|em Money|
|00003fe0| 4f 77 65 64 20 6f 66 20 | 6c 69 6e 65 20 70 6e 75 |Owed of |line pnu|
|00003ff0| 6d 20 6f 66 20 50 6c 61 | 79 65 72 50 72 6f 66 20 |m of Pla|yerProf |
|00004000| 69 6e 74 6f 20 6d 6f 0d | 70 75 74 20 69 74 65 6d |into mo.|put item|
|00004010| 20 31 20 6f 66 20 6c 69 | 6e 65 20 63 20 6f 66 20 | 1 of li|ne c of |
|00004020| 50 6c 61 79 65 72 50 72 | 6f 66 20 69 6e 74 6f 20 |PlayerPr|of into |
|00004030| 63 6e 61 6d 65 0d 72 65 | 70 65 61 74 20 77 69 74 |cname.re|peat wit|
|00004040| 68 20 69 20 3d 20 31 20 | 74 6f 20 28 74 68 65 20 |h i = 1 |to (the |
|00004050| 6e 75 6d 62 65 72 20 6f | 66 20 77 6f 72 64 73 20 |number o|f words |
|00004060| 6f 66 20 70 72 6f 70 73 | 29 0d 69 66 20 6d 6f 20 |of props|).if mo |
|00004070| 3e 20 30 20 74 68 65 6e | 0d 62 75 73 69 6e 65 73 |> 0 then|.busines|
|00004080| 73 20 30 2c 28 77 6f 72 | 64 20 69 20 6f 66 20 70 |s 0,(wor|d i of p|
|00004090| 72 6f 70 73 29 2c 70 6e | 75 6d 2c 63 0d 70 75 74 |rops),pn|um,c.put|
|000040a0| 20 69 74 65 6d 20 43 6f | 73 74 20 6f 66 20 6c 69 | item Co|st of li|
|000040b0| 6e 65 20 28 77 6f 72 64 | 20 31 20 6f 66 20 70 72 |ne (word| 1 of pr|
|000040c0| 6f 70 73 29 20 6f 66 20 | 44 61 74 61 20 69 6e 74 |ops) of |Data int|
|000040d0| 6f 20 76 61 6c 0d 73 75 | 62 74 72 61 63 74 20 76 |o val.su|btract v|
|000040e0| 61 6c 20 66 72 6f 6d 20 | 6d 6f 0d 65 6c 73 65 0d |al from |mo.else.|
|000040f0| 70 75 74 20 61 75 63 74 | 69 6f 6e 20 28 28 77 6f |put auct|ion ((wo|
|00004100| 72 64 20 69 20 6f 66 20 | 70 72 6f 70 73 29 2c 30 |rd i of |props),0|
|00004110| 29 20 69 6e 74 6f 20 78 | 0d 64 65 6c 65 74 65 20 |) into x|.delete |
|00004120| 77 6f 72 64 20 69 20 6f | 66 20 69 74 65 6d 20 32 |word i o|f item 2|
|00004130| 20 6f 66 20 6c 69 6e 65 | 20 70 6e 75 6d 20 6f 66 | of line| pnum of|
|00004140| 20 50 6c 61 79 65 72 50 | 72 6f 66 0d 65 6e 64 20 | PlayerP|rof.end |
|00004150| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 68 69 |if.end r|epeat.hi|
|00004160| 64 65 20 63 64 20 62 74 | 6e 20 28 22 74 6f 6b 65 |de cd bt|n ("toke|
|00004170| 6e 22 26 70 6e 75 6d 29 | 0d 70 75 74 20 22 62 61 |n"&pnum)|.put "ba|
|00004180| 6e 6b 72 75 70 74 22 20 | 69 6e 74 6f 20 69 74 65 |nkrupt" |into ite|
|00004190| 6d 20 73 74 61 74 75 73 | 20 6f 66 20 6c 69 6e 65 |m status| of line|
|000041a0| 20 70 6e 75 6d 20 6f 66 | 20 50 6c 61 79 65 72 50 | pnum of| PlayerP|
|000041b0| 72 6f 66 0d 70 75 74 20 | 22 2a 2a 2a 2a 22 20 69 |rof.put |"****" i|
|000041c0| 6e 74 6f 20 63 64 20 66 | 6c 64 20 28 22 61 76 63 |nto cd f|ld ("avc|
|000041d0| 61 73 68 22 26 70 6e 75 | 6d 29 0d 70 75 74 20 22 |ash"&pnu|m).put "|
|000041e0| 22 20 69 6e 74 6f 20 62 | 70 6c 61 79 65 72 20 2d |" into b|player -|
|000041f0| 2d 73 68 6f 75 6c 64 6e | 27 74 20 6d 61 74 74 65 |-shouldn|'t matte|
|00004200| 72 2c 20 62 75 74 0d 2d | 2d 6c 6f 6f 6b 20 74 6f |r, but.-|-look to|
|00004210| 20 73 65 65 20 69 66 20 | 6f 6e 6c 79 20 6f 6e 65 | see if |only one|
|00004220| 20 70 6c 61 79 65 72 20 | 69 73 20 62 61 6e 6b 72 | player |is bankr|
|00004230| 75 70 74 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 61 |upt.put |0 into a|
|00004240| 63 74 69 76 65 73 0d 2d | 2d 69 66 20 74 68 65 20 |ctives.-|-if the |
|00004250| 62 61 6e 6b 72 75 70 74 | 20 70 6c 61 79 65 72 20 |bankrupt| player |
|00004260| 69 73 20 63 75 72 72 65 | 6e 74 2c 20 67 6f 20 74 |is curre|nt, go t|
|00004270| 6f 20 74 68 65 20 6e 65 | 78 74 20 70 6c 61 79 65 |o the ne|xt playe|
|00004280| 72 0d 69 66 20 50 6c 61 | 79 65 72 20 3d 20 70 6e |r.if Pla|yer = pn|
|00004290| 75 6d 20 74 68 65 6e 20 | 6e 65 78 74 50 6c 61 79 |um then |nextPlay|
|000042a0| 65 72 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |er.repea|t with i|
|000042b0| 20 3d 20 31 20 74 6f 20 | 4e 75 6d 50 6c 61 79 65 | = 1 to |NumPlaye|
|000042c0| 72 73 0d 69 66 20 69 74 | 65 6d 20 73 74 61 74 75 |rs.if it|em statu|
|000042d0| 73 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 50 |s of lin|e i of P|
|000042e0| 6c 61 79 65 72 50 72 6f | 66 20 3c 3e 20 22 62 61 |layerPro|f <> "ba|
|000042f0| 6e 6b 72 75 70 74 22 20 | 74 68 65 6e 0d 61 64 64 |nkrupt" |then.add|
|00004300| 20 31 20 74 6f 20 61 63 | 74 69 76 65 73 0d 70 75 | 1 to ac|tives.pu|
|00004310| 74 20 69 20 69 6e 74 6f | 20 6e 6f 74 62 0d 65 6e |t i into| notb.en|
|00004320| 64 20 69 66 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |d if.end| repeat.|
|00004330| 69 66 20 61 63 74 69 76 | 65 73 20 3d 20 31 20 74 |if activ|es = 1 t|
|00004340| 68 65 6e 0d 66 6c 61 73 | 68 69 74 20 69 74 65 6d |hen.flas|hit item|
|00004350| 20 4e 61 6d 65 20 6f 66 | 20 6c 69 6e 65 20 6e 6f | Name of| line no|
|00004360| 74 62 20 6f 66 20 50 6c | 61 79 65 72 50 72 6f 66 |tb of Pl|ayerProf|
|00004370| 20 26 20 67 65 74 73 74 | 72 28 37 29 2c 31 30 0d | & getst|r(7),10.|
|00004380| 70 75 74 20 66 61 6c 73 | 65 20 69 6e 74 6f 20 47 |put fals|e into G|
|00004390| 61 6d 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 62 |ame.end |if.end b|
|000043a0| 61 6e 6b 72 75 70 74 0d | 0d 0d 0d 66 75 6e 63 74 |ankrupt.|...funct|
|000043b0| 69 6f 6e 20 67 65 74 50 | 6c 61 79 65 72 4e 75 6d |ion getP|layerNum|
|000043c0| 20 78 2c 64 65 6c 61 79 | 2c 70 72 6f 70 0d 67 6c | x,delay|,prop.gl|
|000043d0| 6f 62 61 6c 20 6e 61 6d | 65 52 65 63 74 0d 70 75 |obal nam|eRect.pu|
|000043e0| 74 20 66 61 6c 73 65 20 | 69 6e 74 6f 20 66 6f 75 |t false |into fou|
|000043f0| 6e 64 0d 70 75 74 20 74 | 68 65 20 54 69 63 6b 73 |nd.put t|he Ticks|
|00004400| 20 69 6e 74 6f 20 73 74 | 0d 69 66 20 70 72 6f 70 | into st|.if prop|
|00004410| 20 3c 3e 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 | <> empt|y then p|
|00004420| 75 74 20 22 62 22 26 70 | 72 6f 70 20 69 6e 74 6f |ut "b"&p|rop into|
|00004430| 20 62 75 74 0d 70 75 74 | 20 78 20 69 6e 74 6f 20 | but.put| x into |
|00004440| 63 64 20 66 6c 64 20 22 | 73 74 61 74 75 73 6c 69 |cd fld "|statusli|
|00004450| 6e 65 22 20 6f 66 20 63 | 64 20 22 4d 61 69 6e 22 |ne" of c|d "Main"|
|00004460| 0d 72 65 70 65 61 74 20 | 75 6e 74 69 6c 20 66 6f |.repeat |until fo|
|00004470| 75 6e 64 20 69 73 20 74 | 72 75 65 0d 72 65 70 65 |und is t|rue.repe|
|00004480| 61 74 20 75 6e 74 69 6c | 20 74 68 65 20 6d 6f 75 |at until| the mou|
|00004490| 73 65 63 6c 69 63 6b 0d | 68 69 64 65 20 63 64 20 |seclick.|hide cd |
|000044a0| 66 6c 64 20 22 73 74 61 | 74 75 73 6c 69 6e 65 22 |fld "sta|tusline"|
|000044b0| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 0d 69 66 | of cd "|Main".if|
|000044c0| 20 70 72 6f 70 20 3c 3e | 20 65 6d 70 74 79 20 74 | prop <>| empty t|
|000044d0| 68 65 6e 20 73 65 74 20 | 74 68 65 20 68 69 6c 69 |hen set |the hili|
|000044e0| 74 65 20 6f 66 20 63 64 | 20 62 74 6e 20 62 75 74 |te of cd| btn but|
|000044f0| 20 74 6f c2 0d 6e 6f 74 | 28 74 68 65 20 68 69 6c | to..not|(the hil|
|00004500| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 62 75 |ite of c|d btn bu|
|00004510| 74 29 0d 69 66 20 64 65 | 6c 61 79 20 3c 3e 20 22 |t).if de|lay <> "|
|00004520| 22 20 74 68 65 6e 0d 73 | 68 6f 77 20 63 64 20 66 |" then.s|how cd f|
|00004530| 6c 64 20 22 73 74 61 74 | 75 73 6c 69 6e 65 22 20 |ld "stat|usline" |
|00004540| 6f 66 20 63 64 20 22 4d | 61 69 6e 22 0d 69 66 20 |of cd "M|ain".if |
|00004550| 70 72 6f 70 20 3c 3e 20 | 65 6d 70 74 79 20 74 68 |prop <> |empty th|
|00004560| 65 6e 20 73 65 74 20 74 | 68 65 20 68 69 6c 69 74 |en set t|he hilit|
|00004570| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 62 75 74 20 |e of cd |btn but |
|00004580| 74 6f c2 0d 6e 6f 74 28 | 74 68 65 20 68 69 6c 69 |to..not(|the hili|
|00004590| 74 65 20 6f 66 20 63 64 | 20 62 74 6e 20 62 75 74 |te of cd| btn but|
|000045a0| 29 0d 69 66 20 28 74 68 | 65 20 54 69 63 6b 73 20 |).if (th|e Ticks |
|000045b0| 2d 20 73 74 29 20 3e 20 | 64 65 6c 61 79 20 74 68 |- st) > |delay th|
|000045c0| 65 6e 20 72 65 74 75 72 | 6e 28 22 54 69 6d 65 4f |en retur|n("TimeO|
|000045d0| 75 74 22 29 0d 65 6e 64 | 20 69 66 0d 73 68 6f 77 |ut").end| if.show|
|000045e0| 20 63 64 20 66 6c 64 20 | 22 73 74 61 74 75 73 6c | cd fld |"statusl|
|000045f0| 69 6e 65 22 20 6f 66 20 | 63 64 20 22 4d 61 69 6e |ine" of |cd "Main|
|00004600| 22 0d 69 66 20 70 72 6f | 70 20 3c 3e 20 65 6d 70 |".if pro|p <> emp|
|00004610| 74 79 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |ty then |set the |
|00004620| 68 69 6c 69 74 65 20 6f | 66 20 63 64 20 62 74 6e |hilite o|f cd btn|
|00004630| 20 62 75 74 20 74 6f c2 | 0d 6e 6f 74 28 74 68 65 | but to.|.not(the|
|00004640| 20 68 69 6c 69 74 65 20 | 6f 66 20 63 64 20 62 74 | hilite |of cd bt|
|00004650| 6e 20 62 75 74 29 0d 65 | 6e 64 20 72 65 70 65 61 |n but).e|nd repea|
|00004660| 74 0d 69 66 20 74 68 65 | 20 63 6c 69 63 6b 4c 6f |t.if the| clickLo|
|00004670| 63 20 69 73 20 77 69 74 | 68 69 6e 20 6e 61 6d 65 |c is wit|hin name|
|00004680| 52 65 63 74 20 74 68 65 | 6e 20 70 75 74 20 74 72 |Rect the|n put tr|
|00004690| 75 65 20 69 6e 74 6f 20 | 66 6f 75 6e 64 0d 65 6e |ue into |found.en|
|000046a0| 64 20 72 65 70 65 61 74 | 0d 63 6c 69 63 6b 20 61 |d repeat|.click a|
|000046b0| 74 20 74 68 65 20 43 6c | 69 63 6b 4c 6f 63 0d 67 |t the Cl|ickLoc.g|
|000046c0| 6c 6f 62 61 6c 20 72 62 | 61 73 65 2c 6c 69 74 0d |lobal rb|ase,lit.|
|000046d0| 72 65 74 75 72 6e 28 20 | 6c 69 74 2d 72 62 61 73 |return( |lit-rbas|
|000046e0| 65 2b 31 29 0d 65 6e 64 | 20 67 65 74 50 6c 61 79 |e+1).end| getPlay|
|000046f0| 65 72 4e 75 6d 0d 0d 0d | 6f 6e 20 73 65 74 4f 6c |erNum...|on setOl|
|00004700| 64 47 61 6d 65 0d 67 6c | 6f 62 61 6c 20 4d 6f 6e |dGame.gl|obal Mon|
|00004710| 6f 70 73 2c 56 6f 6c 61 | 74 69 6c 65 44 61 74 61 |ops,Vola|tileData|
|00004720| 2c 50 6c 61 79 65 72 50 | 72 6f 66 2c 44 61 74 61 |,PlayerP|rof,Data|
|00004730| 2c 6e 75 6d 50 6c 61 79 | 65 72 73 2c 47 61 6d 65 |,numPlay|ers,Game|
|00004740| 2c c2 0d 44 69 72 65 63 | 74 69 6f 6e 2c 6e 61 6d |,..Direc|tion,nam|
|00004750| 65 52 65 63 74 2c 74 6f | 6b 4e 6f 2c 4d 6f 72 74 |eRect,to|kNo,Mort|
|00004760| 4c 69 73 74 0d 2d 2d 63 | 6c 65 61 6e 42 6f 61 72 |List.--c|leanBoar|
|00004770| 64 0d 6f 70 65 6e 63 61 | 72 64 0d 70 75 74 20 22 |d.openca|rd.put "|
|00004780| 22 20 69 6e 74 6f 20 4d | 6f 72 74 4c 69 73 74 0d |" into M|ortList.|
|00004790| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|000047a0| 31 20 74 6f 20 34 30 0d | 73 65 74 20 74 68 65 20 |1 to 40.|set the |
|000047b0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 70 |cursor t|o busy.p|
|000047c0| 75 74 20 6c 69 6e 65 20 | 69 20 6f 66 20 56 6f 6c |ut line |i of Vol|
|000047d0| 61 74 69 6c 65 44 61 74 | 61 20 69 6e 74 6f 20 74 |atileDat|a into t|
|000047e0| 68 65 50 72 6f 70 0d 69 | 66 20 69 74 65 6d 20 31 |heProp.i|f item 1|
|000047f0| 20 6f 66 20 74 68 65 50 | 72 6f 70 20 3e 20 30 20 | of theP|rop > 0 |
|00004800| 74 68 65 6e 0d 70 75 74 | 20 22 74 69 6e 79 22 26 |then.put| "tiny"&|
|00004810| 28 69 74 65 6d 20 31 20 | 6f 66 20 74 68 65 50 72 |(item 1 |of thePr|
|00004820| 6f 70 29 20 69 6e 74 6f | 20 69 63 0d 73 65 74 20 |op) into| ic.set |
|00004830| 74 68 65 20 69 63 6f 6e | 20 6f 66 20 63 64 20 62 |the icon| of cd b|
|00004840| 74 6e 20 28 22 6c 22 26 | 69 29 20 6f 66 20 63 64 |tn ("l"&|i) of cd|
|00004850| 20 22 4d 61 69 6e 22 20 | 74 6f 20 69 63 0d 65 6e | "Main" |to ic.en|
|00004860| 64 20 69 66 0d 69 66 20 | 69 74 65 6d 20 32 20 6f |d if.if |item 2 o|
|00004870| 66 20 74 68 65 50 72 6f | 70 20 3e 20 30 20 74 68 |f thePro|p > 0 th|
|00004880| 65 6e 0d 67 6c 6f 62 61 | 6c 20 4d 6f 6e 6f 70 0d |en.globa|l Monop.|
|00004890| 70 75 74 20 69 74 65 6d | 20 4d 6f 6e 6f 70 20 6f |put item| Monop o|
|000048a0| 66 20 6c 69 6e 65 20 69 | 20 6f 66 20 44 61 74 61 |f line i| of Data|
|000048b0| 20 69 6e 74 6f 20 6d 6e | 6f 0d 70 75 74 20 69 74 | into mn|o.put it|
|000048c0| 65 6d 20 34 20 6f 66 20 | 6c 69 6e 65 20 6d 6e 6f |em 4 of |line mno|
|000048d0| 20 6f 66 20 4d 6f 6e 6f | 70 73 20 69 6e 74 6f 20 | of Mono|ps into |
|000048e0| 6d 61 78 0d 70 75 74 20 | 69 74 65 6d 20 44 69 72 |max.put |item Dir|
|000048f0| 65 63 74 69 6f 6e 20 6f | 66 20 6c 69 6e 65 20 69 |ection o|f line i|
|00004900| 20 6f 66 20 44 61 74 61 | 20 69 6e 74 6f 20 69 63 | of Data| into ic|
|00004910| 0d 70 75 74 20 53 51 54 | 79 70 65 28 69 29 20 69 |.put SQT|ype(i) i|
|00004920| 6e 74 6f 20 73 71 74 0d | 69 66 20 73 71 74 20 63 |nto sqt.|if sqt c|
|00004930| 6f 6e 74 61 69 6e 73 20 | 22 46 61 72 6d 22 20 74 |ontains |"Farm" t|
|00004940| 68 65 6e 20 70 75 74 20 | 22 63 22 20 69 6e 74 6f |hen put |"c" into|
|00004950| 20 69 78 20 65 6c 73 65 | 20 70 75 74 20 22 68 22 | ix else| put "h"|
|00004960| 20 69 6e 74 6f 20 69 78 | 0d 69 66 20 69 74 65 6d | into ix|.if item|
|00004970| 20 32 20 6f 66 20 74 68 | 65 50 72 6f 70 20 3e 3d | 2 of th|eProp >=|
|00004980| 20 6d 61 78 20 61 6e 64 | 20 73 71 74 20 63 6f 6e | max and| sqt con|
|00004990| 74 61 69 6e 73 20 22 43 | 6f 6c 6f 72 22 20 74 68 |tains "C|olor" th|
|000049a0| 65 6e 0d 70 75 74 20 69 | 63 20 26 20 22 68 6f 74 |en.put i|c & "hot|
|000049b0| 65 6c 22 20 69 6e 74 6f | 20 69 63 0d 65 6c 73 65 |el" into| ic.else|
|000049c0| 0d 70 75 74 20 69 63 20 | 26 20 69 78 20 26 20 28 |.put ic |& ix & (|
|000049d0| 69 74 65 6d 20 32 20 6f | 66 20 74 68 65 50 72 6f |item 2 o|f thePro|
|000049e0| 70 29 20 69 6e 74 6f 20 | 69 63 0d 65 6e 64 20 69 |p) into |ic.end i|
|000049f0| 66 0d 73 65 74 20 74 68 | 65 20 69 63 6f 6e 20 6f |f.set th|e icon o|
|00004a00| 66 20 63 64 20 62 74 6e | 20 28 22 68 22 26 69 29 |f cd btn| ("h"&i)|
|00004a10| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 20 74 6f | of cd "|Main" to|
|00004a20| 20 69 63 0d 65 6e 64 20 | 69 66 0d 69 66 20 69 74 | ic.end |if.if it|
|00004a30| 65 6d 20 33 20 6f 66 20 | 74 68 65 50 72 6f 70 20 |em 3 of |theProp |
|00004a40| 69 73 20 22 4d 6f 72 74 | 67 61 67 65 64 22 20 74 |is "Mort|gaged" t|
|00004a50| 68 65 6e 0d 67 6c 6f 62 | 61 6c 20 42 57 2c 6e 6f |hen.glob|al BW,no|
|00004a60| 74 52 65 67 0d 69 66 20 | 42 57 20 6f 72 20 6e 6f |tReg.if |BW or no|
|00004a70| 74 52 65 67 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |tReg the|n.set th|
|00004a80| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 63 64 20 62 |e hilite| of cd b|
|00004a90| 74 6e 20 28 22 62 22 26 | 69 29 20 6f 66 20 63 64 |tn ("b"&|i) of cd|
|00004aa0| 20 22 4d 61 69 6e 22 20 | 74 6f 20 74 72 75 65 0d | "Main" |to true.|
|00004ab0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |set the |hilite o|
|00004ac0| 66 20 63 64 20 62 74 6e | 20 28 22 6c 22 26 69 29 |f cd btn| ("l"&i)|
|00004ad0| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 20 74 6f | of cd "|Main" to|
|00004ae0| 20 74 72 75 65 0d 65 6c | 73 65 0d 49 6e 76 65 72 | true.el|se.Inver|
|00004af0| 74 53 71 75 61 72 65 28 | 69 29 0d 76 69 73 4d 6f |tSquare(|i).visMo|
|00004b00| 72 74 20 20 69 0d 70 75 | 74 20 22 20 22 20 26 20 |rt i.pu|t " " & |
|00004b10| 69 20 61 66 74 65 72 20 | 4d 6f 72 74 4c 69 73 74 |i after |MortList|
|00004b20| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 0d 73 65 74 |.end if.|else.set|
|00004b30| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00004b40| 64 20 62 74 6e 20 28 22 | 62 22 26 69 29 20 6f 66 |d btn ("|b"&i) of|
|00004b50| 20 63 64 20 22 4d 61 69 | 6e 22 20 74 6f 20 66 61 | cd "Mai|n" to fa|
|00004b60| 6c 73 65 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 72 |lse.end |if.end r|
|00004b70| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00004b80| 68 20 69 20 3d 20 31 20 | 74 6f 20 6e 75 6d 50 6c |h i = 1 |to numPl|
|00004b90| 61 79 65 72 73 0d 67 6c | 6f 62 61 6c 20 4e 61 6d |ayers.gl|obal Nam|
|00004ba0| 65 2c 4d 79 50 6c 61 63 | 65 2c 4d 6f 6e 65 79 2c |e,MyPlac|e,Money,|
|00004bb0| 72 62 61 73 65 2c 74 6f | 6b 4e 6f 2c 73 74 61 74 |rbase,to|kNo,stat|
|00004bc0| 75 73 0d 73 65 74 20 74 | 68 65 20 68 69 6c 69 74 |us.set t|he hilit|
|00004bd0| 65 20 6f 66 20 63 64 20 | 62 74 6e 20 28 72 62 61 |e of cd |btn (rba|
|00004be0| 73 65 2b 69 2d 31 29 20 | 74 6f 20 66 61 6c 73 65 |se+i-1) |to false|
|00004bf0| 0d 70 75 74 20 69 74 65 | 6d 20 33 20 6f 66 20 74 |.put ite|m 3 of t|
|00004c00| 68 65 20 72 65 63 74 20 | 6f 66 20 63 64 20 62 74 |he rect |of cd bt|
|00004c10| 6e 20 28 72 62 61 73 65 | 2b 69 2d 31 29 20 69 6e |n (rbase|+i-1) in|
|00004c20| 74 6f 20 69 74 65 6d 20 | 33 20 6f 66 20 6e 61 6d |to item |3 of nam|
|00004c30| 65 52 65 63 74 0d 70 75 | 74 20 69 74 65 6d 20 34 |eRect.pu|t item 4|
|00004c40| 20 6f 66 20 74 68 65 20 | 72 65 63 74 20 6f 66 20 | of the |rect of |
|00004c50| 63 64 20 62 74 6e 20 28 | 72 62 61 73 65 2b 69 2d |cd btn (|rbase+i-|
|00004c60| 31 29 20 69 6e 74 6f 20 | 69 74 65 6d 20 34 20 6f |1) into |item 4 o|
|00004c70| 66 20 6e 61 6d 65 52 65 | 63 74 0d 73 65 74 20 74 |f nameRe|ct.set t|
|00004c80| 68 65 20 6e 61 6d 65 20 | 6f 66 20 63 64 20 62 74 |he name |of cd bt|
|00004c90| 6e 20 28 72 62 61 73 65 | 2b 69 2d 31 29 20 74 6f |n (rbase|+i-1) to|
|00004ca0| 20 69 74 65 6d 20 4e 61 | 6d 65 20 6f 66 20 6c 69 | item Na|me of li|
|00004cb0| 6e 65 20 69 20 6f 66 20 | 50 6c 61 79 65 72 50 72 |ne i of |PlayerPr|
|00004cc0| 6f 66 0d 70 75 74 20 69 | 74 65 6d 20 4d 6f 6e 65 |of.put i|tem Mone|
|00004cd0| 79 20 6f 66 20 6c 69 6e | 65 20 69 20 6f 66 20 50 |y of lin|e i of P|
|00004ce0| 6c 61 79 65 72 50 72 6f | 66 20 69 6e 74 6f 20 63 |layerPro|f into c|
|00004cf0| 64 20 66 6c 64 20 28 22 | 61 76 63 61 73 68 22 26 |d fld ("|avcash"&|
|00004d00| 69 29 20 6f 66 20 63 64 | 20 22 4d 61 69 6e 22 0d |i) of cd| "Main".|
|00004d10| 73 65 74 20 74 68 65 20 | 6e 61 6d 65 20 6f 66 20 |set the |name of |
|00004d20| 63 64 20 62 74 6e 20 28 | 69 74 65 6d 20 74 6f 6b |cd btn (|item tok|
|00004d30| 4e 6f 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |No of li|ne i of |
|00004d40| 50 6c 61 79 65 72 50 72 | 6f 66 29 20 74 6f 20 22 |PlayerPr|of) to "|
|00004d50| 74 6f 6b 65 6e 22 26 69 | 0d 73 68 6f 77 20 63 64 |token"&i|.show cd|
|00004d60| 20 62 74 6e 20 28 72 62 | 61 73 65 2b 69 2d 31 29 | btn (rb|ase+i-1)|
|00004d70| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 0d 73 68 | of cd "|Main".sh|
|00004d80| 6f 77 20 63 64 20 66 6c | 64 20 28 22 61 76 63 61 |ow cd fl|d ("avca|
|00004d90| 73 68 22 26 69 29 20 6f | 66 20 63 64 20 22 4d 61 |sh"&i) o|f cd "Ma|
|00004da0| 69 6e 22 0d 69 66 20 69 | 74 65 6d 20 53 74 61 74 |in".if i|tem Stat|
|00004db0| 75 73 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 |us of li|ne i of |
|00004dc0| 50 6c 61 79 65 72 50 72 | 6f 66 20 69 73 20 22 62 |PlayerPr|of is "b|
|00004dd0| 61 6e 6b 72 75 70 74 22 | 20 74 68 65 6e 20 70 75 |ankrupt"| then pu|
|00004de0| 74 20 22 2a 2a 2a 2a 22 | 20 69 6e 74 6f 20 63 64 |t "****"| into cd|
|00004df0| 20 66 6c 64 20 28 22 61 | 76 63 61 73 68 22 26 69 | fld ("a|vcash"&i|
|00004e00| 29 0d 70 75 74 20 28 22 | 62 22 26 28 69 74 65 6d |).put ("|b"&(item|
|00004e10| 20 4d 79 50 6c 61 63 65 | 20 6f 66 20 6c 69 6e 65 | MyPlace| of line|
|00004e20| 20 69 20 6f 66 20 50 6c | 61 79 65 72 50 72 6f 66 | i of Pl|ayerProf|
|00004e30| 29 29 20 69 6e 74 6f 20 | 74 68 65 73 71 0d 73 68 |)) into |thesq.sh|
|00004e40| 6f 77 20 63 64 20 62 74 | 6e 20 28 22 74 6f 6b 65 |ow cd bt|n ("toke|
|00004e50| 6e 22 26 69 29 20 6f 66 | 20 63 64 20 22 4d 61 69 |n"&i) of| cd "Mai|
|00004e60| 6e 22 20 61 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |n" at th|e loc of|
|00004e70| 20 63 64 20 62 74 6e 20 | 74 68 65 73 71 20 6f 66 | cd btn |thesq of|
|00004e80| 20 63 64 20 22 4d 61 69 | 6e 22 0d 69 66 20 74 68 | cd "Mai|n".if th|
|00004e90| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 63 64 20 62 |e hilite| of cd b|
|00004ea0| 74 6e 20 74 68 65 73 71 | 20 69 73 20 74 72 75 65 |tn thesq| is true|
|00004eb0| 20 74 68 65 6e 20 73 65 | 74 20 74 68 65 20 68 69 | then se|t the hi|
|00004ec0| 6c 69 74 65 20 6f 66 20 | 63 64 20 62 74 6e 20 28 |lite of |cd btn (|
|00004ed0| 22 74 6f 6b 65 6e 22 26 | 69 29 20 74 6f 20 74 72 |"token"&|i) to tr|
|00004ee0| 75 65 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |ue.end r|epeat.re|
|00004ef0| 70 65 61 74 20 77 69 74 | 68 20 69 20 3d 20 28 6e |peat wit|h i = (n|
|00004f00| 75 6d 50 6c 61 79 65 72 | 73 2b 31 29 20 74 6f 20 |umPlayer|s+1) to |
|00004f10| 38 0d 68 69 64 65 20 63 | 64 20 62 74 6e 20 28 72 |8.hide c|d btn (r|
|00004f20| 62 61 73 65 2b 69 2d 31 | 29 0d 68 69 64 65 20 63 |base+i-1|).hide c|
|00004f30| 64 20 66 6c 64 20 28 22 | 61 76 63 61 73 68 22 26 |d fld ("|avcash"&|
|00004f40| 69 29 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 67 6c |i).end r|epeat.gl|
|00004f50| 6f 62 61 6c 20 62 65 67 | 74 6f 6b 0d 72 65 70 65 |obal beg|tok.repe|
|00004f60| 61 74 20 77 69 74 68 20 | 69 20 3d 20 31 20 74 6f |at with |i = 1 to|
|00004f70| 20 38 0d 69 66 20 74 68 | 65 20 73 68 6f 72 74 20 | 8.if th|e short |
|00004f80| 6e 61 6d 65 20 6f 66 20 | 63 64 20 62 74 6e 20 28 |name of |cd btn (|
|00004f90| 62 65 67 74 6f 6b 2b 69 | 2d 31 29 20 69 73 20 22 |begtok+i|-1) is "|
|00004fa0| 74 6f 6b 65 6e 22 20 74 | 68 65 6e 20 68 69 64 65 |token" t|hen hide|
|00004fb0| 20 63 64 20 62 74 6e 20 | 28 62 65 67 74 6f 6b 2b | cd btn |(begtok+|
|00004fc0| 69 2d 31 29 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |i-1).end| repeat.|
|00004fd0| 70 75 74 20 74 72 75 65 | 20 69 6e 74 6f 20 47 61 |put true| into Ga|
|00004fe0| 6d 65 0d 67 6c 6f 62 61 | 6c 20 50 6c 61 79 65 72 |me.globa|l Player|
|00004ff0| 0d 73 65 74 20 74 68 65 | 20 68 69 6c 69 74 65 20 |.set the| hilite |
|00005000| 6f 66 20 63 64 20 62 74 | 6e 20 28 72 62 61 73 65 |of cd bt|n (rbase|
|00005010| 2b 50 6c 61 79 65 72 2d | 31 29 20 74 6f 20 74 72 |+Player-|1) to tr|
|00005020| 75 65 0d 65 6e 64 20 73 | 65 74 4f 6c 64 47 61 6d |ue.end s|etOldGam|
|00005030| 65 0d 0d 6f 6e 20 6c 69 | 66 74 4d 6f 72 74 67 61 |e..on li|ftMortga|
|00005040| 67 65 20 70 72 6f 70 6e | 75 6d 2c 66 6c 0d 67 6c |ge propn|um,fl.gl|
|00005050| 6f 62 61 6c 20 56 6f 6c | 61 74 69 6c 65 44 61 74 |obal Vol|atileDat|
|00005060| 61 2c 4d 6f 72 74 67 61 | 67 65 56 61 6c 75 65 2c |a,Mortga|geValue,|
|00005070| 44 61 74 61 2c 6e 75 6d | 50 6c 61 79 65 72 73 2c |Data,num|Players,|
|00005080| 6d 6f 72 74 52 61 74 65 | 0d 70 75 74 20 69 74 65 |mortRate|.put ite|
|00005090| 6d 20 31 20 6f 66 20 6c | 69 6e 65 20 70 72 6f 70 |m 1 of l|ine prop|
|000050a0| 6e 75 6d 20 6f 66 20 56 | 6f 6c 61 74 69 6c 65 44 |num of V|olatileD|
|000050b0| 61 74 61 20 69 6e 74 6f | 20 6f 77 6e 65 72 0d 70 |ata into| owner.p|
|000050c0| 75 74 20 69 74 65 6d 20 | 33 20 6f 66 20 6c 69 6e |ut item |3 of lin|
|000050d0| 65 20 70 72 6f 70 6e 75 | 6d 20 6f 66 20 56 6f 6c |e propnu|m of Vol|
|000050e0| 61 74 69 6c 65 44 61 74 | 61 20 69 6e 74 6f 20 6d |atileDat|a into m|
|000050f0| 0d 69 66 20 6d 20 3c 3e | 20 22 4d 6f 72 74 67 61 |.if m <>| "Mortga|
|00005100| 67 65 64 22 20 74 68 65 | 6e 0d 66 6c 61 73 68 69 |ged" the|n.flashi|
|00005110| 74 20 67 65 74 73 74 72 | 28 38 29 2c 33 0d 65 78 |t getstr|(8),3.ex|
|00005120| 69 74 20 6c 69 66 74 4d | 6f 72 74 67 61 67 65 0d |it liftM|ortgage.|
|00005130| 65 6e 64 20 69 66 0d 70 | 75 74 20 69 74 65 6d 20 |end if.p|ut item |
|00005140| 4d 6f 72 74 67 61 67 65 | 56 61 6c 75 65 20 6f 66 |Mortgage|Value of|
|00005150| 20 6c 69 6e 65 20 70 72 | 6f 70 6e 75 6d 20 6f 66 | line pr|opnum of|
|00005160| 20 44 61 74 61 20 69 6e | 74 6f 20 6d 76 61 6c 0d | Data in|to mval.|
|00005170| 61 64 64 20 72 6f 75 6e | 64 28 28 6d 6f 72 74 52 |add roun|d((mortR|
|00005180| 61 74 65 2f 31 30 30 29 | 20 2a 20 6d 76 61 6c 29 |ate/100)| * mval)|
|00005190| 20 74 6f 20 6d 76 61 6c | 20 20 20 2d 2d 61 64 64 | to mval| --add|
|000051a0| 20 6d 6f 72 74 67 61 67 | 65 20 63 6f 73 74 0d 69 | mortgag|e cost.i|
|000051b0| 66 20 66 6c 20 3d 20 22 | 22 20 74 68 65 6e 20 62 |f fl = "|" then b|
|000051c0| 75 73 69 6e 65 73 73 20 | 6d 76 61 6c 2c 30 2c 30 |usiness |mval,0,0|
|000051d0| 2c 6f 77 6e 65 72 20 20 | 2d 2d 6f 77 6e 65 72 20 |,owner |--owner |
|000051e0| 70 61 79 73 20 62 61 6e | 6b 20 6d 6f 72 74 67 61 |pays ban|k mortga|
|000051f0| 67 65 20 76 61 6c 75 65 | 20 2b 20 6d 6f 72 74 67 |ge value| + mortg|
|00005200| 61 67 65 20 72 61 74 65 | 0d 70 75 74 20 22 22 20 |age rate|.put "" |
|00005210| 69 6e 74 6f 20 69 74 65 | 6d 20 33 20 6f 66 20 6c |into ite|m 3 of l|
|00005220| 69 6e 65 20 70 72 6f 70 | 6e 75 6d 20 6f 66 20 56 |ine prop|num of V|
|00005230| 6f 6c 61 74 69 6c 65 44 | 61 74 61 0d 69 66 20 28 |olatileD|ata.if (|
|00005240| 53 51 74 79 70 65 28 70 | 72 6f 70 6e 75 6d 29 20 |SQtype(p|ropnum) |
|00005250| 63 6f 6e 74 61 69 6e 73 | 20 22 43 6f 6c 6f 72 22 |contains| "Color"|
|00005260| 29 20 6f 72 20 28 53 51 | 74 79 70 65 28 70 72 6f |) or (SQ|type(pro|
|00005270| 70 6e 75 6d 29 20 63 6f | 6e 74 61 69 6e 73 20 22 |pnum) co|ntains "|
|00005280| 46 61 72 6d 22 29 20 74 | 68 65 6e 20 70 75 74 20 |Farm") t|hen put |
|00005290| 31 34 20 69 6e 74 6f 20 | 6c 6e 6f 20 65 6c 73 65 |14 into |lno else|
|000052a0| 20 70 75 74 20 39 20 69 | 6e 74 6f 20 6c 6e 6f 0d | put 9 i|nto lno.|
|000052b0| 70 75 74 20 22 54 69 74 | 6c 65 22 26 70 72 6f 70 |put "Tit|le"&prop|
|000052c0| 6e 75 6d 20 69 6e 74 6f | 20 64 65 65 64 0d 70 75 |num into| deed.pu|
|000052d0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|000052e0| 77 6f 72 64 73 20 6f 66 | 20 6c 69 6e 65 20 6c 6e |words of| line ln|
|000052f0| 6f 20 6f 66 20 63 64 20 | 66 6c 64 20 64 65 65 64 |o of cd |fld deed|
|00005300| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 20 69 6e | of cd "|Main" in|
|00005310| 74 6f 20 6d 0d 72 65 70 | 65 61 74 20 77 69 74 68 |to m.rep|eat with|
|00005320| 20 69 20 3d 20 32 20 74 | 6f 20 6d 0d 69 66 20 77 | i = 2 t|o m.if w|
|00005330| 6f 72 64 20 69 20 6f 66 | 20 6c 69 6e 65 20 6c 6e |ord i of| line ln|
|00005340| 6f 20 6f 66 20 63 64 20 | 66 6c 64 20 64 65 65 64 |o of cd |fld deed|
|00005350| 20 6f 66 20 63 64 20 22 | 4d 61 69 6e 22 20 3d 20 | of cd "|Main" = |
|00005360| 22 4d 22 20 74 68 65 6e | 20 64 65 6c 65 74 65 20 |"M" then| delete |
|00005370| 77 6f 72 64 20 69 20 6f | 66 20 6c 69 6e 65 20 6c |word i o|f line l|
|00005380| 6e 6f 20 6f 66 20 63 64 | 20 66 6c 64 20 64 65 65 |no of cd| fld dee|
|00005390| 64 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 0d 65 |d of cd |"Main".e|
|000053a0| 6e 64 20 72 65 70 65 61 | 74 0d 67 6c 6f 62 61 6c |nd repea|t.global|
|000053b0| 20 42 57 2c 6e 6f 74 52 | 65 67 0d 69 66 20 42 57 | BW,notR|eg.if BW|
|000053c0| 20 6f 72 20 6e 6f 74 52 | 65 67 20 74 68 65 6e 0d | or notR|eg then.|
|000053d0| 73 65 74 20 74 68 65 20 | 68 69 6c 69 74 65 20 6f |set the |hilite o|
|000053e0| 66 20 63 64 20 62 74 6e | 20 28 22 62 22 26 70 72 |f cd btn| ("b"&pr|
|000053f0| 6f 70 6e 75 6d 29 20 6f | 66 20 63 64 20 22 4d 61 |opnum) o|f cd "Ma|
|00005400| 69 6e 22 20 74 6f 20 66 | 61 6c 73 65 0d 73 65 74 |in" to f|alse.set|
|00005410| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|00005420| 64 20 62 74 6e 20 28 22 | 6c 22 26 70 72 6f 70 6e |d btn ("|l"&propn|
|00005430| 75 6d 29 20 6f 66 20 63 | 64 20 22 4d 61 69 6e 22 |um) of c|d "Main"|
|00005440| 74 6f 20 66 61 6c 73 65 | 0d 72 65 70 65 61 74 20 |to false|.repeat |
|00005450| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 6e 75 |with i =| 1 to nu|
|00005460| 6d 50 6c 61 79 65 72 73 | 0d 69 66 20 74 68 65 20 |mPlayers|.if the |
|00005470| 6c 6f 63 20 6f 66 20 63 | 64 20 62 74 6e 20 28 22 |loc of c|d btn ("|
|00005480| 74 6f 6b 65 6e 22 26 69 | 29 20 6f 66 20 63 64 20 |token"&i|) of cd |
|00005490| 22 4d 61 69 6e 22 20 3d | 20 28 74 68 65 20 6c 6f |"Main" =| (the lo|
|000054a0| 63 20 6f 66 20 63 64 20 | 62 74 6e 20 28 22 62 22 |c of cd |btn ("b"|
|000054b0| 26 70 72 6f 70 6e 75 6d | 29 20 6f 66 20 63 64 20 |&propnum|) of cd |
|000054c0| 22 4d 61 69 6e 22 29 20 | 74 68 65 6e 0d 73 65 74 |"Main") |then.set|
|000054d0| 20 74 68 65 20 68 69 6c | 69 74 65 20 6f 66 20 63 | the hil|ite of c|
|000054e0| 64 20 62 74 6e 20 28 22 | 74 6f 6b 65 6e 22 26 69 |d btn ("|token"&i|
|000054f0| 29 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 20 74 |) of cd |"Main" t|
|00005500| 6f 20 66 61 6c 73 65 0d | 65 6e 64 20 69 66 0d 65 |o false.|end if.e|
|00005510| 6e 64 20 72 65 70 65 61 | 74 0d 65 6c 73 65 0d 69 |nd repea|t.else.i|
|00005520| 66 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |f the sh|ort name|
|00005530| 20 6f 66 20 74 68 69 73 | 20 63 61 72 64 20 69 73 | of this| card is|
|00005540| 20 22 4d 61 69 6e 22 20 | 74 68 65 6e 20 69 6e 76 | "Main" |then inv|
|00005550| 65 72 74 53 71 75 61 72 | 65 28 70 72 6f 70 6e 75 |ertSquar|e(propnu|
|00005560| 6d 29 0d 67 6c 6f 62 61 | 6c 20 4d 6f 72 74 4c 69 |m).globa|l MortLi|
|00005570| 73 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 6b |st.repea|t with k|
|00005580| 20 3d 20 31 20 74 6f 20 | 28 74 68 65 20 6e 75 6d | = 1 to |(the num|
|00005590| 62 65 72 20 6f 66 20 77 | 6f 72 64 73 20 6f 66 20 |ber of w|ords of |
|000055a0| 4d 6f 72 74 4c 69 73 74 | 29 0d 69 66 20 77 6f 72 |MortList|).if wor|
|000055b0| 64 20 6b 20 6f 66 20 4d | 6f 72 74 4c 69 73 74 20 |d k of M|ortList |
|000055c0| 3d 20 70 72 6f 70 6e 75 | 6d 20 74 68 65 6e 0d 64 |= propnu|m then.d|
|000055d0| 65 6c 65 74 65 20 77 6f | 72 64 20 6b 20 6f 66 20 |elete wo|rd k of |
|000055e0| 4d 6f 72 74 4c 69 73 74 | 0d 65 78 69 74 20 72 65 |MortList|.exit re|
|000055f0| 70 65 61 74 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |peat.end| if.end |
|00005600| 72 65 70 65 61 74 0d 64 | 65 76 69 73 4d 6f 72 74 |repeat.d|evisMort|
|00005610| 20 70 72 6f 70 6e 75 6d | 0d 65 6e 64 20 69 66 0d | propnum|.end if.|
|00005620| 65 6e 64 20 6c 69 66 74 | 4d 6f 72 74 67 61 67 65 |end lift|Mortgage|
|00005630| 0d 0d 0d 0d 6f 6e 20 76 | 69 73 4d 6f 72 74 20 70 |....on v|isMort p|
|00005640| 72 6f 70 6e 75 6d 0d 70 | 75 74 20 74 68 65 20 74 |ropnum.p|ut the t|
|00005650| 6f 70 4c 65 66 74 20 6f | 66 20 63 64 20 62 74 6e |opLeft o|f cd btn|
|00005660| 20 28 22 62 22 26 70 72 | 6f 70 6e 75 6d 29 20 69 | ("b"&pr|opnum) i|
|00005670| 6e 74 6f 20 74 6c 0d 70 | 75 74 20 74 68 65 20 62 |nto tl.p|ut the b|
|00005680| 6f 74 74 6f 6d 52 69 67 | 68 74 20 6f 66 20 63 64 |ottomRig|ht of cd|
|00005690| 20 62 74 6e 20 28 22 62 | 22 26 70 72 6f 70 6e 75 | btn ("b|"&propnu|
|000056a0| 6d 29 20 69 6e 74 6f 20 | 62 72 0d 2d 2d 6d 6f 76 |m) into |br.--mov|
|000056b0| 65 20 74 68 65 20 6f 77 | 6e 65 72 20 62 75 74 74 |e the ow|ner butt|
|000056c0| 6f 6e 20 74 6f 20 74 68 | 65 20 63 6f 6c 6f 72 65 |on to th|e colore|
|000056d0| 64 20 72 65 63 74 20 73 | 6f 20 77 65 20 63 61 6e |d rect s|o we can|
|000056e0| 20 73 65 65 20 69 74 0d | 69 66 20 70 72 6f 70 6e | see it.|if propn|
|000056f0| 75 6d 20 3c 20 31 31 20 | 74 68 65 6e 0d 73 68 6f |um < 11 |then.sho|
|00005700| 77 20 63 64 20 62 74 6e | 20 28 22 6c 22 26 70 72 |w cd btn| ("l"&pr|
|00005710| 6f 70 6e 75 6d 29 20 61 | 74 20 c2 0d 28 28 69 74 |opnum) a|t ..((it|
|00005720| 65 6d 20 31 20 6f 66 20 | 62 72 29 20 2d 20 35 29 |em 1 of |br) - 5)|
|00005730| 2c 28 28 69 74 65 6d 20 | 32 20 6f 66 20 62 72 29 |,((item |2 of br)|
|00005740| 20 2d 35 29 0d 65 6c 73 | 65 20 69 66 20 70 72 6f | -5).els|e if pro|
|00005750| 70 6e 75 6d 20 3e 20 33 | 31 20 74 68 65 6e 0d 73 |pnum > 3|1 then.s|
|00005760| 68 6f 77 20 63 64 20 62 | 74 6e 20 28 22 6c 22 26 |how cd b|tn ("l"&|
|00005770| 70 72 6f 70 6e 75 6d 29 | 20 61 74 20 c2 0d 28 28 |propnum)| at ..((|
|00005780| 69 74 65 6d 20 31 20 6f | 66 20 62 72 29 20 2d 20 |item 1 o|f br) - |
|00005790| 35 29 2c 28 28 69 74 65 | 6d 20 32 20 6f 66 20 74 |5),((ite|m 2 of t|
|000057a0| 6c 29 20 2b 20 35 29 0d | 65 6c 73 65 20 69 66 20 |l) + 5).|else if |
|000057b0| 70 72 6f 70 6e 75 6d 20 | 3c 20 32 31 20 74 68 65 |propnum |< 21 the|
|000057c0| 6e 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |n.set th|e loc of|
|000057d0| 20 63 64 20 62 74 6e 20 | 28 22 6c 22 26 70 72 6f | cd btn |("l"&pro|
|000057e0| 70 6e 75 6d 29 20 74 6f | 20 c2 0d 28 28 69 74 65 |pnum) to| ..((ite|
|000057f0| 6d 20 31 20 6f 66 20 74 | 6c 29 2b 35 29 2c 28 28 |m 1 of t|l)+5),((|
|00005800| 69 74 65 6d 20 32 20 6f | 66 20 62 72 29 2d 35 29 |item 2 o|f br)-5)|
|00005810| 0d 65 6c 73 65 0d 73 65 | 74 20 74 68 65 20 6c 6f |.else.se|t the lo|
|00005820| 63 20 6f 66 20 63 64 20 | 62 74 6e 20 28 22 6c 22 |c of cd |btn ("l"|
|00005830| 26 70 72 6f 70 6e 75 6d | 29 20 74 6f 20 c2 0d 28 |&propnum|) to ..(|
|00005840| 28 69 74 65 6d 20 31 20 | 6f 66 20 74 6c 29 2b 35 |(item 1 |of tl)+5|
|00005850| 29 2c 28 28 69 74 65 6d | 20 32 20 6f 66 20 74 6c |),((item| 2 of tl|
|00005860| 29 20 2b 35 29 0d 65 6e | 64 20 69 66 0d 65 6e 64 |) +5).en|d if.end|
|00005870| 20 76 69 73 4d 6f 72 74 | 0d 0d 6f 6e 20 64 65 76 | visMort|..on dev|
|00005880| 69 73 4d 6f 72 74 20 70 | 72 6f 70 6e 75 6d 0d 70 |isMort p|ropnum.p|
|00005890| 75 74 20 74 68 65 20 74 | 6f 70 4c 65 66 74 20 6f |ut the t|opLeft o|
|000058a0| 66 20 63 64 20 62 74 6e | 20 28 22 62 22 26 70 72 |f cd btn| ("b"&pr|
|000058b0| 6f 70 6e 75 6d 29 20 6f | 66 20 63 64 20 22 4d 61 |opnum) o|f cd "Ma|
|000058c0| 69 6e 22 20 69 6e 74 6f | 20 74 6c 0d 70 75 74 20 |in" into| tl.put |
|000058d0| 74 68 65 20 62 6f 74 74 | 6f 6d 52 69 67 68 74 20 |the bott|omRight |
|000058e0| 6f 66 20 63 64 20 62 74 | 6e 20 28 22 62 22 26 70 |of cd bt|n ("b"&p|
|000058f0| 72 6f 70 6e 75 6d 29 20 | 6f 66 20 63 64 20 22 4d |ropnum) |of cd "M|
|00005900| 61 69 6e 22 20 69 6e 74 | 6f 20 62 72 0d 2d 2d 6d |ain" int|o br.--m|
|00005910| 6f 76 65 20 74 68 65 20 | 6f 77 6e 65 72 20 62 75 |ove the |owner bu|
|00005920| 74 74 6f 6e 20 74 6f 20 | 74 68 65 20 63 6f 6c 6f |tton to |the colo|
|00005930| 72 65 64 20 72 65 63 74 | 20 73 6f 20 77 65 20 63 |red rect| so we c|
|00005940| 61 6e 20 73 65 65 20 69 | 74 0d 69 66 20 70 72 6f |an see i|t.if pro|
|00005950| 70 6e 75 6d 20 3c 20 31 | 31 20 74 68 65 6e 0d 73 |pnum < 1|1 then.s|
|00005960| 68 6f 77 20 63 64 20 62 | 74 6e 20 28 22 6c 22 26 |how cd b|tn ("l"&|
|00005970| 70 72 6f 70 6e 75 6d 29 | 20 6f 66 20 63 64 20 22 |propnum)| of cd "|
|00005980| 4d 61 69 6e 22 20 61 74 | 20 c2 0d 28 28 69 74 65 |Main" at| ..((ite|
|00005990| 6d 20 31 20 6f 66 20 62 | 72 29 20 2d 20 35 29 2c |m 1 of b|r) - 5),|
|000059a0| 28 28 69 74 65 6d 20 32 | 20 6f 66 20 74 6c 29 20 |((item 2| of tl) |
|000059b0| 2b 35 29 0d 65 6c 73 65 | 20 69 66 20 70 72 6f 70 |+5).else| if prop|
|000059c0| 6e 75 6d 20 3e 20 33 31 | 20 74 68 65 6e 0d 73 68 |num > 31| then.sh|
|000059d0| 6f 77 20 63 64 20 62 74 | 6e 20 28 22 6c 22 26 70 |ow cd bt|n ("l"&p|
|000059e0| 72 6f 70 6e 75 6d 29 20 | 6f 66 20 63 64 20 22 4d |ropnum) |of cd "M|
|000059f0| 61 69 6e 22 20 61 74 20 | c2 0d 28 28 69 74 65 6d |ain" at |..((item|
|00005a00| 20 31 20 6f 66 20 74 6c | 29 20 2b 20 35 29 2c 28 | 1 of tl|) + 5),(|
|00005a10| 28 69 74 65 6d 20 32 20 | 6f 66 20 74 6c 29 20 2b |(item 2 |of tl) +|
|00005a20| 20 35 29 0d 65 6c 73 65 | 20 69 66 20 70 72 6f 70 | 5).else| if prop|
|00005a30| 6e 75 6d 20 3c 20 32 31 | 20 74 68 65 6e 0d 73 65 |num < 21| then.se|
|00005a40| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 63 64 20 |t the lo|c of cd |
|00005a50| 62 74 6e 20 28 22 6c 22 | 26 70 72 6f 70 6e 75 6d |btn ("l"|&propnum|
|00005a60| 29 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 20 74 |) of cd |"Main" t|
|00005a70| 6f 20 c2 0d 28 28 69 74 | 65 6d 20 31 20 6f 66 20 |o ..((it|em 1 of |
|00005a80| 62 72 29 2d 35 29 2c 28 | 28 69 74 65 6d 20 32 20 |br)-5),(|(item 2 |
|00005a90| 6f 66 20 62 72 29 2d 35 | 29 0d 65 6c 73 65 0d 73 |of br)-5|).else.s|
|00005aa0| 65 74 20 74 68 65 20 6c | 6f 63 20 6f 66 20 63 64 |et the l|oc of cd|
|00005ab0| 20 62 74 6e 20 28 22 6c | 22 26 70 72 6f 70 6e 75 | btn ("l|"&propnu|
|00005ac0| 6d 29 20 6f 66 20 63 64 | 20 20 22 4d 61 69 6e 22 |m) of cd| "Main"|
|00005ad0| 20 74 6f 20 c2 0d 28 28 | 69 74 65 6d 20 31 20 6f | to ..((|item 1 o|
|00005ae0| 66 20 74 6c 29 2b 35 29 | 2c 28 28 69 74 65 6d 20 |f tl)+5)|,((item |
|00005af0| 32 20 6f 66 20 62 72 29 | 20 2d 35 29 0d 65 6e 64 |2 of br)| -5).end|
|00005b00| 20 69 66 0d 65 6e 64 20 | 64 65 76 69 73 4d 6f 72 | if.end |devisMor|
|00005b10| 74 0d 0d 0d 66 75 6e 63 | 74 69 6f 6e 20 6e 65 74 |t...func|tion net|
|00005b20| 77 6f 72 74 68 20 70 6c | 0d 67 6c 6f 62 61 6c 20 |worth pl|.global |
|00005b30| 41 73 73 65 74 73 2c 44 | 61 74 61 2c 50 6c 61 79 |Assets,D|ata,Play|
|00005b40| 65 72 50 72 6f 66 2c 43 | 6f 73 74 2c 56 6f 6c 61 |erProf,C|ost,Vola|
|00005b50| 74 69 6c 65 44 61 74 61 | 2c 43 6f 73 74 4c 69 73 |tileData|,CostLis|
|00005b60| 74 2c 68 63 6f 75 6e 74 | 2c 4d 6f 72 74 67 61 67 |t,hcount|,Mortgag|
|00005b70| 65 56 61 6c 75 65 0d 70 | 75 74 20 30 20 69 6e 74 |eValue.p|ut 0 int|
|00005b80| 6f 20 61 77 72 74 68 0d | 70 75 74 20 69 74 65 6d |o awrth.|put item|
|00005b90| 20 32 20 6f 66 20 6c 69 | 6e 65 20 70 6c 20 6f 66 | 2 of li|ne pl of|
|00005ba0| 20 50 6c 61 79 65 72 50 | 72 6f 66 20 69 6e 74 6f | PlayerP|rof into|
|00005bb0| 20 70 72 6f 70 6c 69 73 | 74 0d 72 65 70 65 61 74 | proplis|t.repeat|
|00005bc0| 20 77 69 74 68 20 69 20 | 3d 20 31 20 74 6f 20 74 | with i |= 1 to t|
|00005bd0| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 77 6f 72 |he numbe|r of wor|
|00005be0| 64 73 20 6f 66 20 70 72 | 6f 70 6c 69 73 74 0d 69 |ds of pr|oplist.i|
|00005bf0| 66 20 69 74 65 6d 20 33 | 20 6f 66 20 6c 69 6e 65 |f item 3| of line|
|00005c00| 20 28 77 6f 72 64 20 69 | 20 6f 66 20 70 72 6f 70 | (word i| of prop|
|00005c10| 6c 69 73 74 29 20 6f 66 | 20 56 6f 6c 61 74 69 6c |list) of| Volatil|
|00005c20| 65 44 61 74 61 20 3d 20 | 22 4d 6f 72 74 67 61 67 |eData = |"Mortgag|
|00005c30| 65 64 22 20 74 68 65 6e | 0d 61 64 64 20 69 74 65 |ed" then|.add ite|
|00005c40| 6d 20 4d 6f 72 74 67 61 | 67 65 56 61 6c 75 65 20 |m Mortga|geValue |
|00005c50| 6f 66 20 6c 69 6e 65 20 | 28 77 6f 72 64 20 69 20 |of line |(word i |
|00005c60| 6f 66 20 70 72 6f 70 6c | 69 73 74 29 20 6f 66 20 |of propl|ist) of |
|00005c70| 44 61 74 61 20 74 6f 20 | 61 77 72 74 68 0d 65 6c |Data to |awrth.el|
|00005c80| 73 65 0d 61 64 64 20 69 | 74 65 6d 20 43 6f 73 74 |se.add i|tem Cost|
|00005c90| 20 6f 66 20 6c 69 6e 65 | 20 28 77 6f 72 64 20 69 | of line| (word i|
|00005ca0| 20 6f 66 20 70 72 6f 70 | 6c 69 73 74 29 20 6f 66 | of prop|list) of|
|00005cb0| 20 44 61 74 61 20 74 6f | 20 61 77 72 74 68 0d 65 | Data to| awrth.e|
|00005cc0| 6e 64 20 69 66 0d 72 65 | 70 65 61 74 20 77 69 74 |nd if.re|peat wit|
|00005cd0| 68 20 6a 20 3d 20 31 20 | 74 6f 20 28 69 74 65 6d |h j = 1 |to (item|
|00005ce0| 20 68 63 6f 75 6e 74 20 | 6f 66 20 6c 69 6e 65 20 | hcount |of line |
|00005cf0| 28 77 6f 72 64 20 69 20 | 6f 66 20 70 72 6f 70 6c |(word i |of propl|
|00005d00| 69 73 74 29 20 6f 66 20 | 56 6f 6c 61 74 69 6c 65 |ist) of |Volatile|
|00005d10| 44 61 74 61 29 0d 61 64 | 64 20 28 77 6f 72 64 20 |Data).ad|d (word |
|00005d20| 6a 20 6f 66 20 69 74 65 | 6d 20 43 6f 73 74 4c 69 |j of ite|m CostLi|
|00005d30| 73 74 20 6f 66 20 6c 69 | 6e 65 20 28 77 6f 72 64 |st of li|ne (word|
|00005d40| 20 69 20 6f 66 20 70 72 | 6f 70 6c 69 73 74 29 20 | i of pr|oplist) |
|00005d50| 6f 66 20 44 61 74 61 29 | 20 74 6f 20 61 77 72 74 |of Data)| to awrt|
|00005d60| 68 0d 65 6e 64 20 72 65 | 70 65 61 74 0d 65 6e 64 |h.end re|peat.end|
|00005d70| 20 72 65 70 65 61 74 0d | 72 65 74 75 72 6e 20 61 | repeat.|return a|
|00005d80| 77 72 74 68 0d 2d 2d 20 | 70 75 74 20 69 74 65 6d |wrth.-- |put item|
|00005d90| 20 41 73 73 65 74 73 20 | 6f 66 20 6c 69 6e 65 20 | Assets |of line |
|00005da0| 70 6c 20 6f 66 20 50 6c | 61 79 65 72 50 72 6f 66 |pl of Pl|ayerProf|
|00005db0| 20 69 6e 74 6f 20 61 73 | 73 0d 2d 2d 20 69 66 20 | into as|s.-- if |
|00005dc0| 61 73 73 20 3c 3e 20 61 | 77 72 74 68 20 74 68 65 |ass <> a|wrth the|
|00005dd0| 6e 20 61 6e 73 77 65 72 | 20 22 41 63 63 6f 75 6e |n answer| "Accoun|
|00005de0| 74 69 6e 67 20 62 75 67 | 22 0d 65 6e 64 20 6e 65 |ting bug|".end ne|
|00005df0| 74 77 6f 72 74 68 0d 0d | 0d 0d 66 75 6e 63 74 69 |tworth..|..functi|
|00005e00| 6f 6e 20 61 75 63 74 69 | 6f 6e 20 70 72 6f 70 6e |on aucti|on propn|
|00005e10| 75 6d 2c 73 0d 70 75 73 | 68 20 63 64 0d 67 6f 20 |um,s.pus|h cd.go |
|00005e20| 63 64 20 22 4d 61 69 6e | 22 0d 67 6c 6f 62 61 6c |cd "Main|".global|
|00005e30| 20 4d 6f 6e 65 79 2c 50 | 6c 61 79 65 72 50 72 6f | Money,P|layerPro|
|00005e40| 66 2c 6e 75 6d 50 6c 61 | 79 65 72 73 2c 72 62 61 |f,numPla|yers,rba|
|00005e50| 73 65 2c 6c 69 74 2c 42 | 61 6e 6b 2c 4d 61 78 42 |se,lit,B|ank,MaxB|
|00005e60| 69 64 2c c2 0d 4e 61 6d | 65 2c 4e 61 6d 65 73 2c |id,..Nam|e,Names,|
|00005e70| 44 61 74 61 2c 43 6f 73 | 74 2c 62 70 6c 61 79 65 |Data,Cos|t,bplaye|
|00005e80| 72 2c 56 6f 6c 61 74 69 | 6c 65 44 61 74 61 2c 4d |r,Volati|leData,M|
|00005e90| 6f 72 74 67 61 67 65 46 | 6c 61 67 2c 4d 6f 72 74 |ortgageF|lag,Mort|
|00005ea0| 67 61 67 65 56 61 6c 75 | 65 2c 4d 69 6e 69 6d 75 |gageValu|e,Minimu|
|00005eb0| 6d 0d 69 66 20 73 20 69 | 73 20 30 20 74 68 65 6e |m.if s i|s 0 then|
|00005ec0| 0d 70 75 74 20 22 42 61 | 6e 6b 22 20 69 6e 74 6f |.put "Ba|nk" into|
|00005ed0| 20 63 64 20 66 6c 64 20 | 20 22 73 65 6c 6c 65 72 | cd fld | "seller|
|00005ee0| 22 20 6f 66 20 63 64 20 | 22 4d 61 69 6e 22 0d 65 |" of cd |"Main".e|
|00005ef0| 6c 73 65 0d 70 75 74 20 | 28 69 74 65 6d 20 31 20 |lse.put |(item 1 |
|00005f00| 6f 66 20 6c 69 6e 65 20 | 73 20 6f 66 20 50 6c 61 |of line |s of Pla|
|00005f10| 79 65 72 50 72 6f 66 29 | 20 69 6e 74 6f 20 63 64 |yerProf)| into cd|
|00005f20| 20 66 6c 64 20 22 73 65 | 6c 6c 65 72 22 20 6f 66 | fld "se|ller" of|
|00005f30| 20 63 64 20 22 4d 61 69 | 6e 22 0d 65 6e 64 20 69 | cd "Mai|n".end i|
|00005f40| 66 0d 70 75 74 20 22 62 | 22 26 70 72 6f 70 6e 75 |f.put "b|"&propnu|
|00005f50| 6d 20 69 6e 74 6f 20 74 | 68 65 62 75 74 0d 70 75 |m into t|hebut.pu|
|00005f60| 74 20 74 68 65 20 68 69 | 6c 69 74 65 20 6f 66 20 |t the hi|lite of |
|00005f70| 63 64 20 62 74 6e 20 74 | 68 65 62 75 74 20 69 6e |cd btn t|hebut in|
|00005f80| 74 6f 20 74 68 65 48 69 | 6c 69 74 65 0d 70 75 74 |to theHi|lite.put|
|00005f90| 20 6c 69 6e 65 20 70 72 | 6f 70 6e 75 6d 20 6f 66 | line pr|opnum of|
|00005fa0| 20 4e 61 6d 65 73 20 69 | 6e 74 6f 20 63 64 20 66 | Names i|nto cd f|
|00005fb0| 6c 64 20 22 50 72 6f 70 | 65 72 74 79 22 20 6f 66 |ld "Prop|erty" of|
|00005fc0| 20 63 64 20 22 4d 61 69 | 6e 22 0d 73 68 6f 77 20 | cd "Mai|n".show |
|00005fd0| 63 64 20 66 6c 64 20 22 | 54 72 61 6e 73 61 63 74 |cd fld "|Transact|
|00005fe0| 69 6f 6e 22 20 6f 66 20 | 63 64 20 22 4d 61 69 6e |ion" of |cd "Main|
|00005ff0| 22 0d 73 68 6f 77 20 63 | 64 20 66 6c 64 20 22 50 |".show c|d fld "P|
|00006000| 72 6f 70 65 72 74 79 22 | 20 6f 66 20 63 64 20 22 |roperty"| of cd "|
|00006010| 4d 61 69 6e 22 0d 73 68 | 6f 77 20 63 64 20 66 6c |Main".sh|ow cd fl|
|00006020| 64 20 22 53 2e 4e 61 6d | 65 22 20 6f 66 20 63 64 |d "S.Nam|e" of cd|
|00006030| 20 22 4d 61 69 6e 22 0d | 73 68 6f 77 20 63 64 20 | "Main".|show cd |
|00006040| 66 6c 64 20 22 73 65 6c | 6c 65 72 22 20 6f 66 20 |fld "sel|ler" of |
|00006050| 63 64 20 22 4d 61 69 6e | 22 0d 70 75 74 20 66 61 |cd "Main|".put fa|
|00006060| 6c 73 65 20 69 6e 74 6f | 20 73 6f 6c 64 0d 69 66 |lse into| sold.if|
|00006070| 20 69 74 65 6d 20 4d 6f | 72 74 67 61 67 65 46 6c | item Mo|rtgageFl|
|00006080| 61 67 20 6f 66 20 6c 69 | 6e 65 20 70 72 6f 70 6e |ag of li|ne propn|
|00006090| 75 6d 20 6f 66 20 56 6f | 6c 61 74 69 6c 65 44 61 |um of Vo|latileDa|
|000060a0| 74 61 20 69 73 20 22 4d | 6f 72 74 67 61 67 65 64 |ta is "M|ortgaged|
|000060b0| 22 20 74 68 65 6e 0d 70 | 75 74 20 69 74 65 6d 20 |" then.p|ut item |
|000060c0| 4d 6f 72 74 67 61 67 65 | 56 61 6c 75 65 20 6f 66 |Mortgage|Value of|
|000060d0| 20 6c 69 6e 65 20 70 72 | 6f 70 6e 75 6d 20 6f 66 | line pr|opnum of|
|000060e0| 20 44 61 74 61 20 69 6e | 74 6f 20 53 74 61 72 74 | Data in|to Start|
|000060f0| 42 69 64 0d 65 6c 73 65 | 0d 70 75 74 20 69 74 65 |Bid.else|.put ite|
|00006100| 6d 20 43 6f 73 74 20 6f | 66 20 6c 69 6e 65 20 70 |m Cost o|f line p|
|00006110| 72 6f 70 6e 75 6d 20 6f | 66 20 44 61 74 61 20 69 |ropnum o|f Data i|
|00006120| 6e 74 6f 20 53 74 61 72 | 74 42 69 64 0d 65 6e 64 |nto Star|tBid.end|
|00006130| 20 69 66 0d 70 75 74 20 | 73 20 69 6e 74 6f 20 70 | if.put |s into p|
|00006140| 6c 6e 6f 0d 69 66 20 73 | 20 69 73 20 30 20 74 68 |lno.if s| is 0 th|
|00006150| 65 6e 0d 70 75 74 20 69 | 74 65 6d 20 4d 69 6e 69 |en.put i|tem Mini|
|00006160| 6d 75 6d 20 6f 66 20 6c | 69 6e 65 20 70 72 6f 70 |mum of l|ine prop|
|00006170| 6e 75 6d 20 6f 66 20 44 | 61 74 61 20 69 6e 74 6f |num of D|ata into|
|00006180| 20 6d 69 6e 62 69 64 0d | 65 6c 73 65 0d 70 75 74 | minbid.|else.put|
|00006190| 20 30 20 69 6e 74 6f 20 | 6d 69 6e 62 69 64 0d 65 | 0 into |minbid.e|
|000061a0| 6e 64 20 69 66 0d 67 6c | 6f 62 61 6c 20 4e 75 6d |nd if.gl|obal Num|
|000061b0| 50 6c 61 79 65 72 73 0d | 72 65 70 65 61 74 20 77 |Players.|repeat w|
|000061c0| 69 74 68 20 6b 20 3d 20 | 31 20 74 6f 20 4e 75 6d |ith k = |1 to Num|
|000061d0| 50 6c 61 79 65 72 73 0d | 69 66 20 69 74 65 6d 20 |Players.|if item |
|000061e0| 4d 6f 6e 65 79 20 6f 66 | 20 6c 69 6e 65 20 6b 20 |Money of| line k |
|000061f0| 6f 66 20 50 6c 61 79 65 | 72 50 72 6f 66 20 3e 3d |of Playe|rProf >=|
|00006200| 20 6d 69 6e 62 69 64 20 | 74 68 65 6e 20 70 75 74 | minbid |then put|
|00006210| 20 74 72 75 65 20 69 6e | 74 6f 20 61 66 66 0d 65 | true in|to aff.e|
|00006220| 6e 64 20 72 65 70 65 61 | 74 0d 69 66 20 61 66 66 |nd repea|t.if aff|
|00006230| 20 3c 3e 20 74 72 75 65 | 20 74 68 65 6e 0d 66 6c | <> true| then.fl|
|00006240| 61 73 68 69 74 20 22 4e | 6f 62 6f 64 79 20 63 61 |ashit "N|obody ca|
|00006250| 6e 20 61 66 66 6f 72 64 | 20 74 68 69 73 20 70 72 |n afford| this pr|
|00006260| 6f 70 65 72 74 79 2e 22 | 2c 32 0d 69 66 20 62 70 |operty."|,2.if bp|
|00006270| 6c 61 79 65 72 20 3c 3e | 20 22 22 20 74 68 65 6e |layer <>| "" then|
|00006280| 20 20 6c 69 66 74 4d 6f | 72 74 67 61 67 65 20 70 | liftMo|rtgage p|
|00006290| 72 6f 70 6e 75 6d 2c 74 | 72 75 65 0d 70 6c 61 79 |ropnum,t|rue.play|
|000062a0| 20 22 46 61 72 74 22 0d | 63 6c 65 61 6e 41 75 63 | "Fart".|cleanAuc|
|000062b0| 74 69 6f 6e 0d 72 65 74 | 75 72 6e 20 28 2d 31 29 |tion.ret|urn (-1)|
|000062c0| 0d 65 6e 64 20 69 66 0d | 72 65 70 65 61 74 20 77 |.end if.|repeat w|
|000062d0| 68 69 6c 65 20 53 74 61 | 72 74 42 69 64 20 3e 3d |hile Sta|rtBid >=|
|000062e0| 20 6d 69 6e 42 69 64 0d | 62 65 65 70 0d 70 75 74 | minBid.|beep.put|
|000062f0| 20 67 65 74 50 6c 61 79 | 65 72 4e 75 6d 28 20 67 | getPlay|erNum( g|
|00006300| 65 74 73 74 72 28 39 29 | 20 26 20 53 74 61 72 74 |etstr(9)| & Start|
|00006310| 42 69 64 2c 20 c2 0d 33 | 30 30 2c 70 72 6f 70 6e |Bid, ..3|00,propn|
|00006320| 75 6d 29 20 69 6e 74 6f | 20 62 69 64 64 65 72 0d |um) into| bidder.|
|00006330| 69 66 20 62 69 64 64 65 | 72 20 3d 20 22 54 69 6d |if bidde|r = "Tim|
|00006340| 65 4f 75 74 22 20 74 68 | 65 6e 0d 70 75 74 20 53 |eOut" th|en.put S|
|00006350| 74 61 72 74 42 69 64 20 | 69 6e 74 6f 20 73 61 76 |tartBid |into sav|
|00006360| 65 64 42 69 64 0d 70 75 | 74 20 72 6f 75 6e 64 28 |edBid.pu|t round(|
|00006370| 28 53 74 61 72 74 42 69 | 64 20 2b 20 6d 69 6e 62 |(StartBi|d + minb|
|00006380| 69 64 29 2f 32 29 20 69 | 6e 74 6f 20 53 74 61 72 |id)/2) i|nto Star|
|00006390| 74 42 69 64 0d 69 66 20 | 73 74 61 72 74 42 69 64 |tBid.if |startBid|
|000063a0| 20 3d 20 53 61 76 65 64 | 62 69 64 20 74 68 65 6e | = Saved|bid then|
|000063b0| 0d 70 75 74 20 30 20 69 | 6e 74 6f 20 53 74 61 72 |.put 0 i|nto Star|
|000063c0| 74 42 69 64 0d 65 6e 64 | 20 69 66 0d 65 6c 73 65 |tBid.end| if.else|
|000063d0| 20 69 66 20 69 74 65 6d | 20 4d 6f 6e 65 79 20 6f | if item| Money o|
|000063e0| 66 20 6c 69 6e 65 20 62 | 69 64 64 65 72 20 6f 66 |f line b|idder of|
|000063f0| 20 50 6c 61 79 65 72 50 | 72 6f 66 20 3c 20 53 74 | PlayerP|rof < St|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.